eZPublishCommunityProject  2013.4
eZ\Publish\Core\Persistence\Legacy\Content\Search\Gateway\SortClauseConverter Class Reference

Converter manager for sort clauses. More...

Public Member Functions

 __construct (array $handlers=array())
 Construct from an optional array of sort clause handlers. More...
 
 applyJoin (ezcQuerySelect $query, array $sortClauses)
 Apply join parts of sort clauses to query. More...
 
 applyOrderBy (ezcQuerySelect $query, array $sortClauses)
 Apply order by parts of sort clauses to query. More...
 
 applySelect (ezcQuerySelect $query, array $sortClauses)
 Apply select parts of sort clauses to query. More...
 

Protected Attributes

 $handlers
 
 $sortColumns = array()
 

Detailed Description

Converter manager for sort clauses.

Constructor & Destructor Documentation

eZ\Publish\Core\Persistence\Legacy\Content\Search\Gateway\SortClauseConverter::__construct ( array  $handlers = array())

Construct from an optional array of sort clause handlers.

Parameters
array$handlers
Returns
void

Member Function Documentation

eZ\Publish\Core\Persistence\Legacy\Content\Search\Gateway\SortClauseConverter::applyJoin ( ezcQuerySelect  $query,
array  $sortClauses 
)

Apply join parts of sort clauses to query.

Parameters
\ezcQuerySelect$query
array$sortClauses
Returns
void
eZ\Publish\Core\Persistence\Legacy\Content\Search\Gateway\SortClauseConverter::applyOrderBy ( ezcQuerySelect  $query,
array  $sortClauses 
)

Apply order by parts of sort clauses to query.

Parameters
\ezcQuerySelect$query
array$sortClauses
Returns
void
eZ\Publish\Core\Persistence\Legacy\Content\Search\Gateway\SortClauseConverter::applySelect ( ezcQuerySelect  $query,
array  $sortClauses 
)

Apply select parts of sort clauses to query.

Parameters
\ezcQuerySelect$query
array$sortClauses
Returns
void

Member Data Documentation

eZ\Publish\Core\Persistence\Legacy\Content\Search\Gateway\SortClauseConverter::$handlers
protected
eZ\Publish\Core\Persistence\Legacy\Content\Search\Gateway\SortClauseConverter::$sortColumns = array()
protected

The documentation for this class was generated from the following file: