Conditions | 3 |
Paths | 3 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
9 | protected function parserValue($condition, $field) |
||
10 | { |
||
11 | $value = null; |
||
12 | $condition = trim(strtolower($condition)); |
||
13 | |||
14 | if (isset($this->searchData[$field])) { |
||
15 | $value = $this->parserSearchDataValue($this->searchData[$field], $condition); |
||
16 | } elseif (!is_null($this->search)) { |
||
17 | $value = $this->parserSearchDataValue($this->search, $condition); |
||
18 | } |
||
19 | |||
20 | return $value; |
||
21 | } |
||
45 | } |