PHP Class eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler\FieldValue\Handler\Simple

Simple value handler is used for creating a filter on a value that makes sense to match on only as a whole. Eg. timestamp, integer, boolean, relation Content id
Inheritance: extends eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler\FieldValue\Handler
显示文件 Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
handle ( eZ\Publish\Core\Persistence\Database\SelectQuery $query, eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion, string $column ) : eZ\Publish\Core\Persistence\Database\Expression Generates query expression for operator and value of a Field Criterion.

Method Details

handle() public method

Generates query expression for operator and value of a Field Criterion.
public handle ( eZ\Publish\Core\Persistence\Database\SelectQuery $query, eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion, string $column ) : eZ\Publish\Core\Persistence\Database\Expression
$query eZ\Publish\Core\Persistence\Database\SelectQuery
$criterion eZ\Publish\API\Repository\Values\Content\Query\Criterion
$column string
return eZ\Publish\Core\Persistence\Database\Expression