You are here

public function FacetapiFacetProcessor::getActiveItems in Facet API 6.3

Same name and namespace in other branches
  1. 7.2 plugins/facetapi/adapter.inc \FacetapiFacetProcessor::getActiveItems()
  2. 7 plugins/facetapi/adapter.inc \FacetapiFacetProcessor::getActiveItems()

Helper function to get the facet's active items.

Return value

array The facet's active items.

1 call to FacetapiFacetProcessor::getActiveItems()
FacetapiFacetProcessor::mapValues in plugins/facetapi/adapter.inc
Maps the IDs to human readable values via the mapping callback.

File

plugins/facetapi/adapter.inc, line 1157
Adapter plugin and adapter related calsses.

Class

FacetapiFacetProcessor
Processes facets, initializes the build.

Code

public function getActiveItems() {
  return $this->facet
    ->getAdapter()
    ->getActiveItems($this->facet
    ->getFacet());
}