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

Visits the ContentType facet builder. More...

+ Inheritance diagram for eZ\Publish\Core\Persistence\Solr\Content\Search\FacetBuilderVisitor\ContentType:
+ Collaboration diagram for eZ\Publish\Core\Persistence\Solr\Content\Search\FacetBuilderVisitor\ContentType:

Public Member Functions

 canMap ($field)
 CHeck if visitor is applicable to current facet result. More...
 
 canVisit (FacetBuilder $facetBuilder)
 Check if visitor is applicable to current facet builder. More...
 
 map ($field, array $data)
 Map Solr facet result back to facet objects. More...
 
 visit (FacetBuilder $facetBuilder)
 Map field value to a proper Solr representation. More...
 
- Public Member Functions inherited from eZ\Publish\Core\Persistence\Solr\Content\Search\FacetBuilderVisitor
 canMap ($field)
 CHeck if visitor is applicable to current facet result. More...
 
 canVisit (FacetBuilder $facetBuilder)
 CHeck if visitor is applicable to current facet builder. More...
 
 map ($field, array $data)
 Map Solr facet result back to facet objects. More...
 
 visit (FacetBuilder $facetBuilder)
 Map field value to a proper Solr representation. More...
 

Additional Inherited Members

- Protected Member Functions inherited from eZ\Publish\Core\Persistence\Solr\Content\Search\FacetBuilderVisitor
 mapData (array $data)
 Map Solr return array into a sane hash map. More...
 

Detailed Description

Visits the ContentType facet builder.

Member Function Documentation

eZ\Publish\Core\Persistence\Solr\Content\Search\FacetBuilderVisitor\ContentType::canMap (   $field)

CHeck if visitor is applicable to current facet result.

Parameters
string$field
Returns
boolean
eZ\Publish\Core\Persistence\Solr\Content\Search\FacetBuilderVisitor\ContentType::canVisit ( FacetBuilder  $facetBuilder)

Check if visitor is applicable to current facet builder.

Parameters
FacetBuilder$facetBuilder
Returns
boolean
eZ\Publish\Core\Persistence\Solr\Content\Search\FacetBuilderVisitor\ContentType::map (   $field,
array  $data 
)

Map Solr facet result back to facet objects.

Parameters
string$field
array$data
Returns
Facet
eZ\Publish\Core\Persistence\Solr\Content\Search\FacetBuilderVisitor\ContentType::visit ( FacetBuilder  $facetBuilder)

Map field value to a proper Solr representation.

Parameters
FacetBuilder$facetBuilder,;
Returns
void

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