Méthode |
Description |
|
__construct ( string $operator = 'AND' ) |
Constructor for the QueryWhere |
|
__get ( string $name ) : mixed |
Get a parameter value, class magic __get method |
|
__set ( string $name, mixed $value ) : mixed |
Set a parameter value, class magic __set method |
|
add ( string | QueryWhere $expression, array $parameters = [], string $name = null ) : QueryWhere |
|
|
count ( ) : integer |
Get the number of expressions contained in this QueryWhere |
|
create ( string $operator = 'AND' ) : QueryWhere |
Convenience function for fluid interface |
|
exists ( Query $values, string $paramname = null, boolean $positive = true ) : QueryWhere |
Shortcut to implementing an EXISTS test for one or more values as a new expression |
|
get ( integer $level ) : string |
Obtain the where clause as a string to use in a query |
|
get_named ( string $name ) : null | string | QueryWhere |
Return the named expression from this QueryWhere |
|
in ( $field, $values, string $paramname = null, callback $validator = null, boolean $positive = true ) : QueryWhere |
Shortcut to implementing an IN or equality test for one or more values as a new expression |
|
params ( ) : array |
Obtain the parameters supplied for the where clause |
|