You are here

public function FacetapiAdapter::setModule in Facet API 6

Sets the module that defines the adapter.

Parameters

$module: A string containing the module that defines the adapter.

Return value

An instance of this class.

File

./facetapi.adapter.inc, line 162
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 setModule($module) {
  $this->_module = $module;
  return $this;
}