public function FacetapiFacet::setAdapter in Facet API 6
Sets adapter class.
Parameters
$adapter: A FacetapiAdapter object.
Return value
An instance of this class.
File
- ./
facetapi.adapter.inc, line 254 - Defines classes used by the FacetAPI module.
Class
- FacetapiFacet
- Stores facet data, provides methods that build the facet's render array.
Code
public function setAdapter(FacetapiAdapter $adapter) {
$this->_adapter = $adapter;
return $this;
}