PHP Class eZ\Publish\Core\Search\Elasticsearch\Content\SortClauseVisitor\ContentId

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

Public Methods

Method Description
canVisit ( eZ\Publish\API\Repository\Values\Content\Query\SortClause $sortClause ) : boolean Check if visitor is applicable to current sortClause.
visit ( eZ\Publish\API\Repository\Values\Content\Query\SortClause $sortClause ) : mixed Map field value to a proper Elasticsearch representation.

Method Details

canVisit() public method

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

visit() public method

Map field value to a proper Elasticsearch representation.
public visit ( eZ\Publish\API\Repository\Values\Content\Query\SortClause $sortClause ) : mixed
$sortClause eZ\Publish\API\Repository\Values\Content\Query\SortClause
return mixed