You are here

function facetapi_get_active_searchers in Facet API 7.2

Same name and namespace in other branches
  1. 6.3 facetapi.module \facetapi_get_active_searchers()
  2. 7 facetapi.module \facetapi_get_active_searchers()

Returns a list of active searchers.

An active searcher means that facet data is parsed and processed by the backend. Any searcher's adapter who's FacetapiAdapter::addActiveFilters() was called is automatically added to this list.

Return value

array An associative array of active adapters

1 call to facetapi_get_active_searchers()
facetapi_is_active_searcher in ./facetapi.module
Tests whether a searcher is active or not.

File

./facetapi.module, line 565
An abstracted facet API that can be used by various search backends.

Code

function facetapi_get_active_searchers() {
  $searchers =& drupal_static('facetapi_active_searchers', array());
  return $searchers;
}