|
spoof
|


Public Member Functions | |
| __construct (\lib360\db\value\IValue $value1, $operator,\lib360\db\value\IValue $value2) | |
Data Fields | |
| $value1 | |
| $operator | |
| $value2 | |
| const | OPERATOR_EQUALS = 1 |
| const | OPERATOR_NOT_EQUALS = -1 |
| const | OPERATOR_GREATER_THAN = 2 |
| const | OPERATOR_GREATER_THAN_OR_EQUAL = 3 |
| const | OPERATOR_IN = 4 |
| const | OPERATOR_LESS_THAN = -2 |
| const | OPERATOR_LESS_THAN_OR_EQUAL = -3 |
| const | OPERATOR_NOT_IN = -4 |
Simple DB condition class.
This class is used to describe a simple database condition that uses the left side, operator, and the right side to evaluate the statement.
| __construct | ( | \lib360\db\value\IValue | $value1, |
| $operator, | |||
| \lib360\db\value\IValue | $value2 | ||
| ) |
Constructor.
Instantiates a database condition object with the given left side value, operator, right side value
| \lib360\db\value\IValue | $value1 | the left side of the condition |
| string | $operator | database condition operator |
| \lib360\db\value\IValue | $value2 | the right side of the condition |
| $operator |
Condition operator. Property used to store the operator for use with the database condition.
| $value1 |
Value of the left side of the condition. Property used to store the value of the left side of the database condition.
| $value2 |
Value of the right side of the condition. Property used to store the value of the right side of the database condition.
| const OPERATOR_EQUALS = 1 |
Constant for equals operator
| const OPERATOR_GREATER_THAN = 2 |
Constant for greater than operator
| const OPERATOR_GREATER_THAN_OR_EQUAL = 3 |
Constant for greater than or equals operator
| const OPERATOR_IN = 4 |
Constant for in operator
| const OPERATOR_LESS_THAN = -2 |
Constant for less than operator
| const OPERATOR_LESS_THAN_OR_EQUAL = -3 |
Constant for less than or equals operator
| const OPERATOR_NOT_EQUALS = -1 |
Constant for not equals operator
| const OPERATOR_NOT_IN = -4 |
Constant for not in operator