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

Inheritance: extends eZ\Publish\Core\Search\Elasticsearch\Content\SortClauseVisitor
Mostrar archivo 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 sort clause.
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 sort clause.
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