You are here

public function FacetapiFacet::getActiveItems in Facet API 6

Returns the facet's active items.

Return value

An array of active items.

File

./facetapi.adapter.inc, line 296
Defines classes used by the FacetAPI module.

Class

FacetapiFacet
Stores facet data, provides methods that build the facet's render array.

Code

public function getActiveItems() {
  if (!isset($this->_active)) {
    $this
      ->processActiveItems();
  }
  return $this->_active;
}