| Conditions | 3 |
| Paths | 3 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | protected function parseValue($condition, $field) |
||
| 30 | { |
||
| 31 | $value = null; |
||
| 32 | $condition = trim(strtolower($condition)); |
||
| 33 | |||
| 34 | if (isset($this->searchData[$field])) { |
||
| 35 | $value = $this->parseSearchDataValue($this->searchData[$field], $condition); |
||
| 36 | } elseif (!is_null($this->search)) { |
||
| 37 | $value = $this->parseSearchDataValue($this->search, $condition); |
||
| 38 | } |
||
| 39 | |||
| 40 | return $value; |
||
| 41 | } |
||
| 65 | } |