Class Between

Summary

Fully Qualified Name: Zend\Db\Sql\Predicate\Between
Extends: AbstractExpression
Implements: PredicateInterface

Description

Methods

Name Description Defined By
__construct() Constructor Between
getExpressionData() Return "where" parts Between
getIdentifier() Get identifier of comparison Between
getMaxValue() Get maximum boundary for comparison Between
getMinValue() Get minimum boundary for comparison Between
getSpecification() Get specification string to use in forming SQL predicate Between
setIdentifier() Set identifier for comparison Between
setMaxValue() Set maximum boundary for comparison Between
setMinValue() Set minimum boundary for comparison Between
setSpecification() Set specification string to use in forming SQL predicate Between

Method Details

__construct()

Constructor

Parameter Name Type Description
$identifier string
$minValue int|float|string
$maxValue int|float|string

Returns:

getExpressionData()

Return "where" parts

Returns: array

getIdentifier()

Get identifier of comparison

Returns: null|string

getMaxValue()

Get maximum boundary for comparison

Returns: null|int|float|string

getMinValue()

Get minimum boundary for comparison

Returns: null|int|float|string

getSpecification()

Get specification string to use in forming SQL predicate

Returns: string

setIdentifier()

Set identifier for comparison

Parameter Name Type Description
$identifier string

Returns: self Provides a fluent interface

setMaxValue()

Set maximum boundary for comparison

Parameter Name Type Description
$maxValue int|float|string

Returns: self Provides a fluent interface

setMinValue()

Set minimum boundary for comparison

Parameter Name Type Description
$minValue int|float|string

Returns: self Provides a fluent interface

setSpecification()

Set specification string to use in forming SQL predicate

Parameter Name Type Description
$specification string

Returns: self Provides a fluent interface

Top