@@ -28,12 +28,18 @@ discard block |
||
| 28 | 28 | return substr($haystack, 0, strlen($needle)) === $needle; |
| 29 | 29 | } |
| 30 | 30 | |
| 31 | + /** |
|
| 32 | + * @param string $string |
|
| 33 | + */ |
|
| 31 | 34 | protected function filterIsFunction($string) |
| 32 | 35 | { |
| 33 | 36 | return (self::str_startswith($string, 'substringof') || self::str_startswith($string, 'contains') || |
| 34 | 37 | self::str_startswith($string, 'indexof')); |
| 35 | 38 | } |
| 36 | 39 | |
| 40 | + /** |
|
| 41 | + * @param string $op |
|
| 42 | + */ |
|
| 37 | 43 | protected function odataOpToStd($op) |
| 38 | 44 | { |
| 39 | 45 | switch($op) |
@@ -146,6 +152,9 @@ discard block |
||
| 146 | 152 | } |
| 147 | 153 | } |
| 148 | 154 | |
| 155 | + /** |
|
| 156 | + * @param string $op |
|
| 157 | + */ |
|
| 149 | 158 | private function getMongoClauseArray($op, $var2) |
| 150 | 159 | { |
| 151 | 160 | return array($this->opToMongo($op)=>$var2); |