Jet\DataModel_Query_Where
Třída reprezentuje WHERE část dotazu. Jedná se o subentitu třídy Jet\DataModel_Query.
Přehled metod
Metoda | Význam |
---|---|
public __construct( DataModel_Query $query, array $where=[] ) |
Parametry:
|
public addExpression( DataModel_Definition_Property $property_definition, string $operator, mixed $value ) : void |
Přidá do definice výraz (tedy konkrétní podmínku). |
public toString( ) : string |
Pro režim ladění je možné definici převést na řetězec. |
public getIsEmpty( ) : bool |
Indikuje zda je definice prázdná. |
public addAND( ) : void |
Přidá do definice operátor AND |
public addOR( ) : void |
Přidá do definice operátor OR |
public addSubExpressions( DataModel_Query_Where $sub_expressions ) : void |
Přidá do definice subvýrazy. |
public attach( DataModel_Query_Where $part ) : void |
Připojí jinou definici WHERE. |
public current( ) : DataModel_Query_Where_Expression| DataModel_Query_Where| string |
Třída je iterátor - definici je možné procházet jako pole. |
public key( ) : string |
Třída je iterátor - definici je možné procházet jako pole. |
public next( ) : DataModel_Query_Where_Expression| DataModel_Query_Where| string| bool |
Třída je iterátor - definici je možné procházet jako pole. |
public rewind( ) : void |
Třída je iterátor - definici je možné procházet jako pole. |
public valid( ) : bool |
Třída je iterátor - definici je možné procházet jako pole. |
public count( ) : int |
Třída je iterátor - definici je možné procházet jako pole. |