You are here

public function FacetapiQueryType::getSettings in Facet API 6.3

Same name and namespace in other branches
  1. 7.2 plugins/facetapi/query_type.inc \FacetapiQueryType::getSettings()
  2. 7 plugins/facetapi/query_type.inc \FacetapiQueryType::getSettings()

Returns settings.

Parameters

string|array $realm: The machine readable name of the realm or realm definition. Pass null to get global settings.

Return value

An object containing the settings.

File

plugins/facetapi/query_type.inc, line 92
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);
}