Conditions | 3 |
Paths | 3 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | protected function isEnabledFilter($field, array $filters, $object = null) |
||
24 | { |
||
25 | if (array_key_exists($field, $filters) === false) { |
||
26 | return $this->returnObjectOrBool($object); |
||
27 | } |
||
28 | |||
29 | if ($filters[$field] === false) { |
||
30 | return $this->returnObjectOrBool($object); |
||
31 | } |
||
32 | |||
33 | return true; |
||
34 | } |
||
35 | |||
52 | } |