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

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

Protected Properties

Property Type Description
$contentTypeHandler eZ\Publish\SPI\Persistence\Content\Type\Handler Content Type handler.

Public Methods

Method Description
__construct ( eZ\Publish\Core\Persistence\Database\DatabaseHandler $dbHandler, eZ\Publish\SPI\Persistence\Content\Type\Handler $contentTypeHandler ) Construct from handler handler.
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

__construct() public method

Construct from handler handler.
public __construct ( eZ\Publish\Core\Persistence\Database\DatabaseHandler $dbHandler, eZ\Publish\SPI\Persistence\Content\Type\Handler $contentTypeHandler )
$dbHandler eZ\Publish\Core\Persistence\Database\DatabaseHandler
$contentTypeHandler eZ\Publish\SPI\Persistence\Content\Type\Handler

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

Property Details

$contentTypeHandler protected_oe property

Content Type handler.
protected Handler,eZ\Publish\SPI\Persistence\Content\Type $contentTypeHandler
return eZ\Publish\SPI\Persistence\Content\Type\Handler