IDBWhere Interface Reference
[Interfaces]
Interface to represent a where statement. More...
Public Member Functions |
|
| get_column () | |
| Returns column. |
|
| get_logical_operator () | |
| Return logical operator (AND or OR).
|
|
| get_operator () | |
| Returns the operator (=, >=, LIKe etc.
|
|
| get_table () | |
| Returns table assigned. |
|
| get_value () | |
| Returns the value. |
|
Public Attributes |
|
| const | LOGIC_AND = 'AND' |
| const | LOGIC_OR = 'OR' |
| const | OP_IN = 'IN' |
| const | OP_IN_SET = 'IN_SET' |
| Check wheter given value is set on bitflag
field. |
|
| const | OP_IS_NULL = 'IS NULL' |
| const | OP_LIKE = 'LIKE' |
| const | OP_NOT_IN = 'NOT IN' |
| const | OP_NOT_IN_SET = 'NOT_IN_SET' |
| Check wether given value is not set on
bitflag field. |
|
| const | OP_NOT_NULL = 'IS NOT NULL' |
Detailed Description
Interface to represent a where statement.
Definition at line 10 of file idbwhere.cls.php.
Member Function Documentation
| IDBWhere::get_column | ( | ) |
| IDBWhere::get_logical_operator | ( | ) |
| IDBWhere::get_operator | ( | ) |
Returns the operator (=, >=, LIKe etc.
) May also be NULL
- Returns:
- string
Implemented in DBWhere, and DBWhereGroup.
| IDBWhere::get_table | ( | ) |
| IDBWhere::get_value | ( | ) |
Member Data Documentation
| const IDBWhere::LOGIC_AND = 'AND' |
Definition at line 11 of file idbwhere.cls.php.
| const IDBWhere::LOGIC_OR = 'OR' |
Definition at line 12 of file idbwhere.cls.php.
| const IDBWhere::OP_IN = 'IN' |
Definition at line 14 of file idbwhere.cls.php.
| const IDBWhere::OP_IN_SET = 'IN_SET' |
Check wheter given value is set on bitflag field.
Definition at line 23 of file idbwhere.cls.php.
| const IDBWhere::OP_IS_NULL = 'IS NULL' |
Definition at line 17 of file idbwhere.cls.php.
| const IDBWhere::OP_LIKE = 'LIKE' |
Definition at line 16 of file idbwhere.cls.php.
| const IDBWhere::OP_NOT_IN = 'NOT IN' |
Definition at line 15 of file idbwhere.cls.php.
| const IDBWhere::OP_NOT_IN_SET = 'NOT_IN_SET' |
Check wether given value is not set on bitflag field.
Definition at line 27 of file idbwhere.cls.php.
| const IDBWhere::OP_NOT_NULL = 'IS NOT NULL' |
Definition at line 18 of file idbwhere.cls.php.
The documentation for this interface was generated from the following file:
- gyro/core/lib/interfaces/idbwhere.cls.php
