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

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

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

Public Member Functions

 __construct (array $visitors=array())
 COnstruct from optional visitor array. More...
 
 addVisitor (CriterionVisitor $visitor)
 Adds visitor. More...
 
 canVisit (Criterion $criterion)
 CHeck if visitor is applicable to current criterion. More...
 
 visit (Criterion $criterion, CriterionVisitor $subVisitor=null)
 Map field value to a proper Solr representation. More...
 
- Public Member Functions inherited from eZ\Publish\Core\Persistence\Solr\Content\Search\CriterionVisitor
 canVisit (Criterion $criterion)
 CHeck if visitor is applicable to current criterion. More...
 
 visit (Criterion $criterion, CriterionVisitor $subVisitor=null)
 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\CriterionVisitor
 getRange ($operator, $start, $end)
 Get Solr range. More...
 

Detailed Description

Visits the criterion tree into a Solr query.

Constructor & Destructor Documentation

eZ\Publish\Core\Persistence\Solr\Content\Search\CriterionVisitor\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\CriterionVisitor\Aggregate::addVisitor ( CriterionVisitor  $visitor)

Adds visitor.

Parameters
FieldValueVisitor$visitor
Returns
void

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

eZ\Publish\Core\Persistence\Solr\Content\Search\CriterionVisitor\Aggregate::canVisit ( Criterion  $criterion)

CHeck if visitor is applicable to current criterion.

Parameters
Criterion$criterion
Returns
boolean
eZ\Publish\Core\Persistence\Solr\Content\Search\CriterionVisitor\Aggregate::visit ( Criterion  $criterion,
CriterionVisitor  $subVisitor = null 
)

Map field value to a proper Solr representation.

Parameters
Criterion$criterion
CriterionVisitor$subVisitor
Returns
void

Member Data Documentation

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

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