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

Visits the sortClause tree into a Solr query. More...

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

Public Member Functions

 __construct (array $visitors=array())
 COnstruct from optional visitor array. More...
 
 addVisitor (SortClauseVisitor $visitor)
 Adds visitor. More...
 
 canVisit (SortClause $sortClause)
 CHeck if visitor is applicable to current sortClause. More...
 
 visit (SortClause $sortClause)
 Map field value to a proper Solr representation. More...
 
- Public Member Functions inherited from eZ\Publish\Core\Persistence\Solr\Content\Search\SortClauseVisitor
 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 Attributes

 $visitors = array()
 

Additional Inherited Members

- Protected Member Functions inherited from eZ\Publish\Core\Persistence\Solr\Content\Search\SortClauseVisitor
 getDirection (SortClause $sortClause)
 Get solr sort direction for sort clause. More...
 

Detailed Description

Visits the sortClause tree into a Solr query.

Constructor & Destructor Documentation

eZ\Publish\Core\Persistence\Solr\Content\Search\SortClauseVisitor\Aggregate::__construct ( array  $visitors = array())

COnstruct from optional visitor array.

Parameters
array$visitors
Returns
void

Member Function Documentation

eZ\Publish\Core\Persistence\Solr\Content\Search\SortClauseVisitor\Aggregate::addVisitor ( SortClauseVisitor  $visitor)

Adds visitor.

Parameters
FieldValueVisitor$visitor
Returns
void

Referenced by eZ\Publish\Core\Persistence\Solr\Content\Search\SortClauseVisitor\Aggregate\__construct().

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

CHeck if visitor is applicable to current sortClause.

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

Map field value to a proper Solr representation.

Parameters
SortClause$sortClause
Returns
void

Member Data Documentation

eZ\Publish\Core\Persistence\Solr\Content\Search\SortClauseVisitor\Aggregate::$visitors = array()
protected

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