Zend Framework
3.0
|
Public Member Functions | |
__construct ($identifier=null, $minValue=null, $maxValue=null) | |
Constructor. | |
setIdentifier ($identifier) | |
Set identifier for comparison. | |
getIdentifier () | |
Get identifier of comparison. | |
setMinValue ($minValue) | |
Set minimum boundary for comparison. | |
getMinValue () | |
Get minimum boundary for comparison. | |
setMaxValue ($maxValue) | |
Set maximum boundary for comparison. | |
getMaxValue () | |
Get maximum boundary for comparison. | |
setSpecification ($specification) | |
Set specification string to use in forming SQL predicate. | |
getSpecification () | |
Get specification string to use in forming SQL predicate. | |
getExpressionData () | |
Return "where" parts. | |
Protected Attributes | |
$specification = '%1$s BETWEEN %2$s AND %3$s' | |
$identifier = null | |
$minValue = null | |
$maxValue = null | |
Protected Attributes inherited from AbstractExpression | |
$allowedTypes | |
Additional Inherited Members | |
Public Attributes inherited from ExpressionInterface | |
const | TYPE_IDENTIFIER = 'identifier' |
const | TYPE_VALUE = 'value' |
const | TYPE_LITERAL = 'literal' |
const | TYPE_SELECT = 'select' |
Protected Member Functions inherited from AbstractExpression | |
normalizeArgument ($argument, $defaultType=self::TYPE_VALUE) | |
Normalize Argument. | |
__construct | ( | $identifier = null , |
|
$minValue = null , |
|||
$maxValue = null |
|||
) |
Constructor.
string | $identifier | |
int | float | string | $minValue | |
int | float | string | $maxValue |
getExpressionData | ( | ) |
getIdentifier | ( | ) |
Get identifier of comparison.
getMaxValue | ( | ) |
Get maximum boundary for comparison.
getMinValue | ( | ) |
Get minimum boundary for comparison.
getSpecification | ( | ) |
Get specification string to use in forming SQL predicate.
setIdentifier | ( | $identifier | ) |
setMaxValue | ( | $maxValue | ) |
setMinValue | ( | $minValue | ) |
setSpecification | ( | $specification | ) |
Set specification string to use in forming SQL predicate.
string | $specification |
|
protected |
|
protected |
|
protected |
|
protected |