PHP Class Sulu\Component\Rest\ListBuilder\Expression\Doctrine\DoctrineBetweenExpression

Inheritance: extends AbstractDoctrineExpression, implements Sulu\Component\Rest\ListBuilder\Expression\BetweenExpressionInterface
Show file Open project: sulu/sulu Class Usage Examples

Protected Properties

Property Type Description
$end mixed
$field Sulu\Component\Rest\ListBuilder\Doctrine\FieldDescriptor\AbstractDoctrineFieldDescriptor Field descriptor used for comparison.
$start mixed

Public Methods

Method Description
__construct ( AbstractDoctrineFieldDescriptor $field, $start, $end ) DoctrineInExpression constructor.
getEnd ( )
getFieldName ( )
getStart ( )
getStatement ( Doctrine\ORM\QueryBuilder $queryBuilder ) : string Returns a statement for an expression.

Method Details

__construct() public method

DoctrineInExpression constructor.
public __construct ( AbstractDoctrineFieldDescriptor $field, $start, $end )
$field Sulu\Component\Rest\ListBuilder\Doctrine\FieldDescriptor\AbstractDoctrineFieldDescriptor
$start
$end

getEnd() public method

public getEnd ( )

getFieldName() public method

public getFieldName ( )

getStart() public method

public getStart ( )

getStatement() public method

Returns a statement for an expression.
public getStatement ( Doctrine\ORM\QueryBuilder $queryBuilder ) : string
$queryBuilder Doctrine\ORM\QueryBuilder
return string

Property Details

$end protected property

protected mixed $end
return mixed

$field protected property

Field descriptor used for comparison.
protected AbstractDoctrineFieldDescriptor,Sulu\Component\Rest\ListBuilder\Doctrine\FieldDescriptor $field
return Sulu\Component\Rest\ListBuilder\Doctrine\FieldDescriptor\AbstractDoctrineFieldDescriptor

$start protected property

protected mixed $start
return mixed