Class

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

class LogicalOr implements 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 19
public bool accept(Criterion $criterion)

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

Parameters

Criterion $criterion

Return Value

bool

at line 27
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