PHP Class eZ\Publish\Core\Search\Elasticsearch\Content\CriterionVisitor\ContentTypeIdentifierIn

Inheritance: extends eZ\Publish\Core\Search\Elasticsearch\Content\CriterionVisitor
Datei anzeigen Open project: ezsystems/ezpublish-kernel

Protected Properties

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

Public Methods

Method Description
__construct ( eZ\Publish\SPI\Persistence\Content\Type\Handler $contentTypeHandler ) Create from content type handler.
canVisit ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion ) : boolean Check if visitor is applicable to current criterion.
visitFilter ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion, CriterionVisitorDispatcher $dispatcher, array $languageFilter ) : mixed Map field value to a proper Elasticsearch filter representation.

Method Details

__construct() public method

Create from content type handler.
public __construct ( eZ\Publish\SPI\Persistence\Content\Type\Handler $contentTypeHandler )
$contentTypeHandler eZ\Publish\SPI\Persistence\Content\Type\Handler

canVisit() public method

Check if visitor is applicable to current criterion.
public canVisit ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion ) : boolean
$criterion eZ\Publish\API\Repository\Values\Content\Query\Criterion
return boolean

visitFilter() public method

Map field value to a proper Elasticsearch filter representation.
public visitFilter ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion, CriterionVisitorDispatcher $dispatcher, array $languageFilter ) : mixed
$criterion eZ\Publish\API\Repository\Values\Content\Query\Criterion
$dispatcher eZ\Publish\Core\Search\Elasticsearch\Content\CriterionVisitorDispatcher
$languageFilter array
return mixed

Property Details

$contentTypeHandler protected_oe property

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