You are here

function facetapi_build_delta in Facet API 6.3

Same name and namespace in other branches
  1. 7.2 facetapi.block.inc \facetapi_build_delta()
  2. 7 facetapi.block.inc \facetapi_build_delta()

Build a delta from the searcher, realm name, and facet name.

Parameters

$searcher: The machine readable name of the searcher.

$realm_name: The machine readable name of the realm.

$facet_name: The machine readable name of the facet.

Return value

A string containing the raw delta.

3 calls to facetapi_build_delta()
FacetapiTestCase::enableFacet in tests/facetapi.test
Enables a facet in the block realm, adds it to the "sidebar_first" region.
facetapi_block_info in ./facetapi.block.inc
Implements hook_block_info().
facetapi_get_delta_map in ./facetapi.block.inc
Returns a cached delta map of hashes to names.

File

./facetapi.block.inc, line 211
Block realm code and hook implementations.

Code

function facetapi_build_delta($searcher, $realm_name, $facet_name) {
  return $searcher . ':' . $realm_name . ':' . urlencode($facet_name);
}