You are here

public function FacetapiAdapter::setSearcher in Facet API 6

Sets the searcher module.

Parameters

$searcher: A string containing the machine readable name of the searcher module.

Return value

An instance of this class.

File

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

Class

FacetapiAdapter
Abstract class extended by search backends that retrieves facet information from the database.

Code

public function setSearcher($searcher) {
  $this->_searcher = $searcher;
  return $this;
}