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