@@ 215-221 (lines=7) @@ | ||
212 | } |
|
213 | } |
|
214 | ||
215 | if (!is_array($filters)) { |
|
216 | if (empty($filters)) { |
|
217 | $filters = array(); |
|
218 | } else { |
|
219 | $filters = explode(',', str_replace(' ', '', $filters)); |
|
220 | } |
|
221 | } |
|
222 | ||
223 | if (isset($this->default_output[$type])) { |
|
224 | $output = $this->default_output[$type]; |
|
@@ 370-376 (lines=7) @@ | ||
367 | } |
|
368 | } |
|
369 | ||
370 | if (!is_array($filters)) { |
|
371 | if (empty($filters)) { |
|
372 | $filters = array(); |
|
373 | } else { |
|
374 | $filters = explode(',', str_replace(' ', '', $filters)); |
|
375 | } |
|
376 | } |
|
377 | foreach ($filters as $filter) { |
|
378 | if (is_object($filter) && $filter instanceof $this->filterInterface) { |
|
379 | $filterArray[] = $filter; |