Class

eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler

abstract class CriterionHandler

Methods

__construct(DatabaseHandler $dbHandler)

Creates a new criterion handler.

bool accept(Criterion $criterion)

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

handle(CriteriaConverter $converter, SelectQuery $query, Criterion $criterion, array $languageSettings)

Generate query expression for a Criterion this handler accepts.

Details

at line 45
public __construct(DatabaseHandler $dbHandler)

Creates a new criterion handler.

Parameters

DatabaseHandler $dbHandler

at line 57
abstract public bool accept(Criterion $criterion)

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

Parameters

Criterion $criterion

Return Value

bool

at line 69
abstract public handle(CriteriaConverter $converter, SelectQuery $query, Criterion $criterion, array $languageSettings)

Generate query expression for a Criterion this handler accepts.

accept() must be called before calling this method.

Parameters

CriteriaConverter $converter
SelectQuery $query
Criterion $criterion
array $languageSettings