PHP Class eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler\SectionId

Inheritance: extends eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriterionHandler
Mostra file Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
accept ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion ) : boolean Check if this criterion handler accepts to handle the given criterion.
handle ( CriteriaConverter $converter, eZ\Publish\Core\Persistence\Database\SelectQuery $query, eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion, array $languageSettings ) : eZ\Publish\Core\Persistence\Database\Expression Generate query expression for a Criterion this handler accepts.

Method Details

accept() public method

Check if this criterion handler accepts to handle the given criterion.
public accept ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion ) : boolean
$criterion eZ\Publish\API\Repository\Values\Content\Query\Criterion
return boolean

handle() public method

accept() must be called before calling this method.
public handle ( CriteriaConverter $converter, eZ\Publish\Core\Persistence\Database\SelectQuery $query, eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion, array $languageSettings ) : eZ\Publish\Core\Persistence\Database\Expression
$converter eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\CriteriaConverter
$query eZ\Publish\Core\Persistence\Database\SelectQuery
$criterion eZ\Publish\API\Repository\Values\Content\Query\Criterion
$languageSettings array
return eZ\Publish\Core\Persistence\Database\Expression