Fully Qualified Name: | Zend\Db\Sql\Predicate\Operator |
Extends: | AbstractExpression |
Implements: | PredicateInterface |
Name | Description | Defined By |
---|---|---|
__construct() | Constructor | Operator |
getExpressionData() | Get predicate parts for where statement | Operator |
getLeft() | Get left side of operator | Operator |
getLeftType() | Get parameter type on left side of operator | Operator |
getOperator() | Get operator string | Operator |
getRight() | Get right side of operator | Operator |
getRightType() | Get parameter type on right side of operator | Operator |
setLeft() | Set left side of operator | Operator |
setLeftType() | Set parameter type for left side of operator | Operator |
setOperator() | Set operator string | Operator |
setRight() | Set right side of operator | Operator |
setRightType() | Set parameter type for right side of operator | Operator |
Constructor
Parameter Name | Type | Description |
---|---|---|
$left | int|float|bool|string | |
$operator | string | |
$right | int|float|bool|string | |
$leftType | string | TYPE_IDENTIFIER |
$rightType | string | TYPE_IDENTIFIER |
Returns:
Get predicate parts for where statement
Returns: array
Get left side of operator
Returns: int|float|bool|string
Get parameter type on left side of operator
Returns: string
Get operator string
Returns: string
Get right side of operator
Returns: int|float|bool|string
Get parameter type on right side of operator
Returns: string
Set left side of operator
Parameter Name | Type | Description |
---|---|---|
$left | int|float|bool|string |
Returns: self Provides a fluent interface
Set parameter type for left side of operator
Parameter Name | Type | Description |
---|---|---|
$type | string | TYPE_IDENTIFIER |
Returns: self Provides a fluent interface
Set operator string
Parameter Name | Type | Description |
---|---|---|
$operator | string |
Returns: self Provides a fluent interface
Set right side of operator
Parameter Name | Type | Description |
---|---|---|
$right | int|float|bool|string |
Returns: self Provides a fluent interface
Set parameter type for right side of operator
Parameter Name | Type | Description |
---|---|---|
$type | string | TYPE_IDENTIFIER |
Returns: self Provides a fluent interface