function facetapi_add_active_searcher in Facet API 6.3
Same name and namespace in other branches
- 7.2 facetapi.module \facetapi_add_active_searcher()
- 7 facetapi.module \facetapi_add_active_searcher()
Adds an active searcher to the list.
Parameters
$searcher: The machine readable name of the searcher.
See also
facetapi_get_active_searchers();
1 call to facetapi_add_active_searcher()
- FacetapiAdapter::addActiveFilters in plugins/
facetapi/ adapter.inc - Adds facet query type plugins to the queue and invokes the execute() hook to allow for the backend to add filters to its native query object.
File
- ./
facetapi.module, line 965 - An abstracted facet API that can be used by various search backends.
Code
function facetapi_add_active_searcher($searcher) {
$searchers =& ctools_static('facetapi_active_searchers', array());
$searchers[$searcher] = $searcher;
}