Class

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

class ParentLocationId extends CriterionHandler

Parent location id criterion handler.

Methods

__construct(DatabaseHandler $dbHandler)

Creates a new criterion handler.

from CriterionHandler
bool accept(Criterion $criterion)

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

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

Generate query expression for a Criterion this handler accepts.

Details

in CriterionHandler at line 45
public __construct(DatabaseHandler $dbHandler)

Creates a new criterion handler.

Parameters

DatabaseHandler $dbHandler

at line 28
public bool accept(Criterion $criterion)

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

Parameters

Criterion $criterion

Return Value

bool

at line 45
public Expression 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

Return Value

Expression