Class

eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler\FieldValue\Handler\Collection

class Collection extends Handler

Content locator gateway implementation using the DoctrineDatabase.

Collection value handler is used for creating a filter on a value that is in fact a collection of values, separated by a character. Eg. list of countries, list of Selection options, list of RelationList Content ids

Methods

__construct(DatabaseHandler $dbHandler, TransformationProcessor $transformationProcessor, string $separator)

Creates a new criterion handler.

Expression handle(SelectQuery $query, Criterion $criterion, string $column)

Generates query expression for operator and value of a Field Criterion.

Details

at line 40
public __construct(DatabaseHandler $dbHandler, TransformationProcessor $transformationProcessor, string $separator)

Creates a new criterion handler.

Parameters

DatabaseHandler $dbHandler
TransformationProcessor $transformationProcessor
string $separator

at line 56
public Expression handle(SelectQuery $query, Criterion $criterion, string $column)

Generates query expression for operator and value of a Field Criterion.

Parameters

SelectQuery $query
Criterion $criterion
string $column

Return Value

Expression