Interface

eZ\Publish\Core\Persistence\Legacy\URL\Query\CriterionHandler

interface CriterionHandler

Methods

bool accept(Criterion $criterion)

Check if this criterion handler accepts to handle the given criterion.

Expression|string handle(CriteriaConverter $converter, SelectQuery $query, Criterion $criterion)

Generate query expression for a Criterion this handler accepts.

Details

at line 20
public bool accept(Criterion $criterion)

Check if this criterion handler accepts to handle the given criterion.

Parameters

Criterion $criterion

Return Value

bool

at line 32
public Expression|string handle(CriteriaConverter $converter, SelectQuery $query, Criterion $criterion)

Generate query expression for a Criterion this handler accepts.

accept() must be called before calling this method.

Parameters

CriteriaConverter $converter
SelectQuery $query
Criterion $criterion

Return Value

Expression|string