public function FacetapiAdapter::setType in Facet API 6
Sets the type of content indexed by $this->_searcher.
Parameters
$type: A string containing the type of content indexed by $this->_searcher.
Return value
An instance of this class.
File
- ./
facetapi.adapter.inc, line 139 - 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 setType($type) {
$this->_type = $type;
return $this;
}