Methods
Constructor
__construct(string $identifier, int | float | string $minValue, int | float | string $maxValue)
Parameters
$identifier
string
$minValue
intfloatstring
$maxValue
intfloatstring
Return "where" parts
getExpressionData() : array
Get identifier of comparison
getIdentifier() : null | string
Get maximum boundary for comparison
getMaxValue() : null | int | float | string
Returns
null
int
float
string
Get minimum boundary for comparison
getMinValue() : null | int | float | string
Returns
null
int
float
string
Get specification string to use in forming SQL predicate
getSpecification() : string
Set maximum boundary for comparison
setMaxValue(int | float | string $maxValue) : \Zend\Db\Sql\Predicate\Between
Parameters
$maxValue
intfloatstring
Returns
Set minimum boundary for comparison
setMinValue(int | float | string $minValue) : \Zend\Db\Sql\Predicate\Between
Parameters
$minValue
intfloatstring
Returns
Set specification string to use in forming SQL predicate
setSpecification(string $specification) : \Zend\Db\Sql\Predicate\Between
Parameters
$specification
string
Returns
Normalize Argument
normalizeArgument(mixed $argument, string $defaultType) : array
Inherited
inherited_from |
\Zend\Db\Sql\AbstractExpression::normalizeArgument() |
Parameters
$argument
mixed
$defaultType
string
Exceptions
Returns
array
buildNormalizedArgument()
buildNormalizedArgument(mixed $argument, string $argumentType) : array
Inherited
inherited_from |
\Zend\Db\Sql\AbstractExpression::buildNormalizedArgument() |
Parameters
$argument
mixed
$argumentType
string
Exceptions
Returns
array
Properties
$allowedTypes
$allowedTypes : string[]
Inherited
inherited_from |
\Zend\Db\Sql\AbstractExpression::$$allowedTypes |
$specification
$specification
Constants
TYPE_IDENTIFIER
TYPE_IDENTIFIER
Inherited
inherited_from |
\Zend\Db\Sql\ExpressionInterface::TYPE_IDENTIFIER |
inherited_from |
\Zend\Db\Sql\AbstractExpression::TYPE_IDENTIFIER |
TYPE_LITERAL
TYPE_LITERAL
Inherited
inherited_from |
\Zend\Db\Sql\ExpressionInterface::TYPE_LITERAL |
inherited_from |
\Zend\Db\Sql\AbstractExpression::TYPE_LITERAL |
TYPE_SELECT
TYPE_SELECT
Inherited
inherited_from |
\Zend\Db\Sql\ExpressionInterface::TYPE_SELECT |
inherited_from |
\Zend\Db\Sql\AbstractExpression::TYPE_SELECT |
TYPE_VALUE
TYPE_VALUE
Inherited
inherited_from |
\Zend\Db\Sql\ExpressionInterface::TYPE_VALUE |
inherited_from |
\Zend\Db\Sql\AbstractExpression::TYPE_VALUE |