public function FacetapiQueryType::getSettings in Facet API 7
Same name and namespace in other branches
- 6.3 plugins/facetapi/query_type.inc \FacetapiQueryType::getSettings()
- 7.2 plugins/facetapi/query_type.inc \FacetapiQueryType::getSettings()
Convenience method to get the facet's global and per realm settings.
Parameters
string|array $realm: The machine readable name of the realm or an array containing the realm definition. Pass NULL to return the facet's global settings.
Return value
stdClass An object containing the settings.
See also
File
- plugins/
facetapi/ query_type.inc, line 163 - Interfaces and base classes for query type plugins.
Class
- FacetapiQueryType
- Base class for query type plugins.
Code
public function getSettings($realm = NULL) {
return $this->adapter
->getFacet($this->facet)
->getSettings($realm);
}