PHP Class eZ\Publish\Core\Search\Legacy\Content\Location\Gateway\SortClauseHandler\Location\Id

Inheritance: extends eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\SortClauseHandler
Afficher le fichier Open project: ezsystems/ezpublish-kernel

Méthodes publiques

Méthode Description
accept ( eZ\Publish\API\Repository\Values\Content\Query\SortClause $sortClause ) : boolean Check if this sort clause handler accepts to handle the given sort clause.
applySelect ( eZ\Publish\Core\Persistence\Database\SelectQuery $query, eZ\Publish\API\Repository\Values\Content\Query\SortClause $sortClause, integer $number ) : string Apply selects to the query.

Method Details

accept() public méthode

Check if this sort clause handler accepts to handle the given sort clause.
public accept ( eZ\Publish\API\Repository\Values\Content\Query\SortClause $sortClause ) : boolean
$sortClause eZ\Publish\API\Repository\Values\Content\Query\SortClause
Résultat boolean

applySelect() public méthode

Returns the name of the (aliased) column, which information should be used for sorting.
public applySelect ( eZ\Publish\Core\Persistence\Database\SelectQuery $query, eZ\Publish\API\Repository\Values\Content\Query\SortClause $sortClause, integer $number ) : string
$query eZ\Publish\Core\Persistence\Database\SelectQuery
$sortClause eZ\Publish\API\Repository\Values\Content\Query\SortClause
$number integer
Résultat string