Conditions | 3 |
Paths | 4 |
Total Lines | 14 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
30 | protected function convertParameters($firstResult, $parameters) |
||
31 | { |
||
32 | $this->criteria->orderBy = array(); |
||
33 | // run default simple parameters converting |
||
34 | parent::convertParameters($firstResult, $parameters); |
||
35 | |||
36 | if (array_key_exists('locale', $parameters)) { |
||
37 | $this->criteria->locale = $parameters['locale']; |
||
38 | } |
||
39 | |||
40 | if (array_key_exists('type', $parameters)) { |
||
41 | $this->criteria->type = $parameters['type']; |
||
42 | } |
||
43 | } |
||
44 | } |
||
45 |