Public Member Functions | |
__construct ($left, $right, $logic) | |
toDialectString (Dialect $dialect) | |
toMapped (StorableDAO $dao, JoinCapableQuery $query) | |
| |
toBoolean (Form $form) | |
Public Attributes | |
const | EQUALS = '=' |
const | NOT_EQUALS = '!=' |
const | EXPRESSION_AND = 'AND' |
const | EXPRESSION_OR = 'OR' |
const | GREATER_THAN = '>' |
const | GREATER_OR_EQUALS = '>=' |
const | LOWER_THAN = '<' |
const | LOWER_OR_EQUALS = '<=' |
const | LIKE = 'LIKE' |
const | NOT_LIKE = 'NOT LIKE' |
const | ILIKE = 'ILIKE' |
const | NOT_ILIKE = 'NOT ILIKE' |
const | SIMILAR_TO = 'SIMILAR TO' |
const | NOT_SIMILAR_TO = 'NOT SIMILAR TO' |
const | ADD = '+' |
const | SUBSTRACT = '-' |
const | MULTIPLY = '*' |
const | DIVIDE = '/' |
Private Attributes | |
$left = null | |
$right = null | |
$logic = null |
Definition at line 16 of file BinaryExpression.class.php.
BinaryExpression::__construct | ( | $ | left, | |
$ | right, | |||
$ | logic | |||
) |
BinaryExpression::toDialectString | ( | Dialect $ | dialect | ) |
BinaryExpression::toMapped | ( | StorableDAO $ | dao, | |
JoinCapableQuery $ | query | |||
) |
Implements MappableObject.
Definition at line 67 of file BinaryExpression.class.php.
References ProtoDAO::guessAtom().
BinaryExpression::toBoolean | ( | Form $ | form | ) |
Implements LogicalObject.
Definition at line 76 of file BinaryExpression.class.php.
References $left, $right, and Form::toFormValue().
const BinaryExpression::EQUALS = '=' |
const BinaryExpression::NOT_EQUALS = '!=' |
const BinaryExpression::EXPRESSION_AND = 'AND' |
Definition at line 21 of file BinaryExpression.class.php.
Referenced by Expression::andBlock(), LogicalChain::block(), LogicalChain::calculateBoolean(), LogicalChain::expAnd(), and Expression::expAnd().
const BinaryExpression::EXPRESSION_OR = 'OR' |
Definition at line 22 of file BinaryExpression.class.php.
Referenced by LogicalChain::block(), LogicalChain::calculateBoolean(), LogicalChain::expOr(), Expression::expOr(), and Expression::orBlock().
const BinaryExpression::GREATER_THAN = '>' |
const BinaryExpression::GREATER_OR_EQUALS = '>=' |
const BinaryExpression::LOWER_THAN = '<' |
const BinaryExpression::LOWER_OR_EQUALS = '<=' |
const BinaryExpression::LIKE = 'LIKE' |
const BinaryExpression::NOT_LIKE = 'NOT LIKE' |
const BinaryExpression::ILIKE = 'ILIKE' |
const BinaryExpression::NOT_ILIKE = 'NOT ILIKE' |
const BinaryExpression::SIMILAR_TO = 'SIMILAR TO' |
const BinaryExpression::NOT_SIMILAR_TO = 'NOT SIMILAR TO' |
const BinaryExpression::ADD = '+' |
const BinaryExpression::SUBSTRACT = '-' |
const BinaryExpression::MULTIPLY = '*' |
const BinaryExpression::DIVIDE = '/' |
BinaryExpression::$left = null [private] |
Definition at line 43 of file BinaryExpression.class.php.
Referenced by __construct(), and toBoolean().
BinaryExpression::$right = null [private] |
Definition at line 44 of file BinaryExpression.class.php.
Referenced by __construct(), and toBoolean().
BinaryExpression::$logic = null [private] |