You are here

function facetapi_set_facet_disabled in Facet API 6.3

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

Disables a facet for this page load only.

Parameters

$searcher: The machine readable name of the searcher.

$realm_name: The machine readable name of the realm, pass NULL for all realms.

$facet_name: The machine readable name of the facet.

$batch_process: A boolean flagging whether batch processing is being performed.

See also

facetapi_set_facet_status()

File

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

Code

function facetapi_set_facet_disabled($searcher, $realm_name, $facet_name, $batch_process = FALSE) {
  return facetapi_set_facet_status($searcher, $realm_name, $facet_name, FALSE, $batch_process);
}