eZPublishCommunityProject  2013.4
eZ\Publish\Core\Persistence\Solr\Content\Search\SortClauseVisitor Class Reference

Visits the sort clause into a Solr query. More...

+ Inheritance diagram for eZ\Publish\Core\Persistence\Solr\Content\Search\SortClauseVisitor:

Public Member Functions

 canVisit (SortClause $sortClause)
 CHeck if visitor is applicable to current sort clause. More...
 
 visit (SortClause $sortClause)
 Map field value to a proper Solr representation. More...
 

Protected Member Functions

 getDirection (SortClause $sortClause)
 Get solr sort direction for sort clause. More...
 

Detailed Description

Visits the sort clause into a Solr query.

Member Function Documentation

eZ\Publish\Core\Persistence\Solr\Content\Search\SortClauseVisitor::canVisit ( SortClause  $sortClause)
abstract

CHeck if visitor is applicable to current sort clause.

Parameters
SortClause$sortClause
Returns
boolean
eZ\Publish\Core\Persistence\Solr\Content\Search\SortClauseVisitor::visit ( SortClause  $sortClause)
abstract

Map field value to a proper Solr representation.

Parameters
SortClause$sortClause
Returns
void

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