Class

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

abstract class FieldBase extends CriterionHandler

Base criterion handler for field criteria.

Methods

__construct(DatabaseHandler $dbHandler, Handler $contentTypeHandler, Handler $languageHandler)

Construct from handler handler.

bool accept(Criterion $criterion)

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

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

Generate query expression for a Criterion this handler accepts.

from CriterionHandler

Details

at line 44
public __construct(DatabaseHandler $dbHandler, Handler $contentTypeHandler, Handler $languageHandler)

Construct from handler handler.

Parameters

DatabaseHandler $dbHandler
Handler $contentTypeHandler
Handler $languageHandler

in CriterionHandler 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

in CriterionHandler 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