PHP Class eZ\Publish\Core\Search\Elasticsearch\Content\Common\CriterionVisitor\LogicalNot

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

Public Methods

Method Description
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.
visitQuery ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion, CriterionVisitorDispatcher $dispatcher, array $languageFilter ) : mixed Map field value to a proper Elasticsearch query representation.

Protected Methods

Method Description
validateCriterionInput ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion ) Validates criterion.

Method Details

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

validateCriterionInput() protected method

Validates criterion.
protected validateCriterionInput ( eZ\Publish\API\Repository\Values\Content\Query\Criterion $criterion )
$criterion eZ\Publish\API\Repository\Values\Content\Query\Criterion

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

visitQuery() public method

Map field value to a proper Elasticsearch query representation.
public visitQuery ( 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