eZPublishCommunityProject  2013.6
eZ\Publish\Core\Persistence\Solr\Content\Search\FieldValueMapper\Aggregate Class Reference

Maps raw document field values to something Solr can index. More...

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

Public Member Functions

 __construct (array $mappers=array())
 COnstruct from optional mapper array. More...
 
 addMapper (FieldValueMapper $mapper)
 Adds mapper. More...
 
 canMap (Field $field)
 Check if field can be mapped. More...
 
 map (Field $field)
 Map field value to a proper Solr representation. More...
 
- Public Member Functions inherited from eZ\Publish\Core\Persistence\Solr\Content\Search\FieldValueMapper
 canMap (Field $field)
 Check if field can be mapped. More...
 
 map (Field $field)
 Map field value to a proper Solr representation. More...
 

Protected Attributes

 $mappers = array()
 

Detailed Description

Maps raw document field values to something Solr can index.

Constructor & Destructor Documentation

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

COnstruct from optional mapper array.

Parameters
\eZ\Publish\Core\Persistence\Solr\Content\Search\FieldValueMapper[]$mappers
Returns
void

Member Function Documentation

eZ\Publish\Core\Persistence\Solr\Content\Search\FieldValueMapper\Aggregate::addMapper ( FieldValueMapper  $mapper)

Adds mapper.

Parameters
\eZ\Publish\Core\Persistence\Solr\Content\Search\FieldValueMapper$mapper
Returns
void

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

eZ\Publish\Core\Persistence\Solr\Content\Search\FieldValueMapper\Aggregate::canMap ( Field  $field)

Check if field can be mapped.

Parameters
Field$field
Returns
boolean
eZ\Publish\Core\Persistence\Solr\Content\Search\FieldValueMapper\Aggregate::map ( Field  $field)

Map field value to a proper Solr representation.

Parameters
Field$field
Returns
mixed

Member Data Documentation

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

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