PHP 클래스 eZ\Publish\Core\Search\Legacy\Content\Location\Gateway\SortClauseHandler\Location\Visibility

상속: extends eZ\Publish\Core\Search\Legacy\Content\Common\Gateway\SortClauseHandler
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

공개 메소드들

메소드 설명
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.

메소드 상세

accept() 공개 메소드

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
리턴 boolean

applySelect() 공개 메소드

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
리턴 string