@@ 1838-1845 (lines=8) @@ | ||
1835 | * @param array $methods |
|
1836 | * @return \Doctrine\ORM\Query\Expr\Andx |
|
1837 | */ |
|
1838 | protected function createConditionsForIntegerCollectionSubquery($subquery, $query, $alias, $currentUser, $methods) |
|
1839 | { |
|
1840 | if (\UnserAllerLib_Tool_Array::hasMoreKeysThan($methods, ['anyis'])) { |
|
1841 | throw new \InvalidArgumentException('Invalid expression methods used'); |
|
1842 | } |
|
1843 | ||
1844 | return $this->createExpression('subquery', $subquery, $query, $alias, $currentUser, $methods); |
|
1845 | } |
|
1846 | ||
1847 | /** |
|
1848 | * Translates params into where conditions. The subquery must really return an integer for it to work! |
|
@@ 1862-1869 (lines=8) @@ | ||
1859 | * @return \Doctrine\ORM\Query\Expr\Andx |
|
1860 | * @uses subqueryAnyisExpression |
|
1861 | */ |
|
1862 | protected function createConditionsForStringCollectionSubquery($subquery, $query, $alias, $currentUser, $methods) |
|
1863 | { |
|
1864 | if (\UnserAllerLib_Tool_Array::hasMoreKeysThan($methods, ['anyis'])) { |
|
1865 | throw new \InvalidArgumentException('Invalid expression methods used'); |
|
1866 | } |
|
1867 | ||
1868 | return $this->createExpression('subquery', $subquery, $query, $alias, $currentUser, $methods); |
|
1869 | } |
|
1870 | ||
1871 | /** |
|
1872 | * Translates params into where conditions. The subquery must really return an integer for it to work! |
|
@@ 1887-1894 (lines=8) @@ | ||
1884 | * @uses subqueryTrueExpression |
|
1885 | * @uses subqueryFalseExpression |
|
1886 | */ |
|
1887 | protected function createConditionsForDatetimeSubquery($subquery, $query, $alias, $currentUser, $methods) |
|
1888 | { |
|
1889 | if (\UnserAllerLib_Tool_Array::hasMoreKeysThan($methods, ['false', 'true'])) { |
|
1890 | throw new \InvalidArgumentException('Invalid expression methods used'); |
|
1891 | } |
|
1892 | ||
1893 | return $this->createExpression('subquery', $subquery, $query, $alias, $currentUser, $methods); |
|
1894 | } |
|
1895 | ||
1896 | /** |
|
1897 | * Translates params into where conditions. Null values are handled as you would expect it. |