You are here

public function SearchApiMultiQueryInterface::getOption in Search API Multi-Index Searches 7

Retrieves a single option.

Parameters

string $name: The name of an option.

mixed $default: The default in case the option isn't set.

Return value

mixed The value of the option with the specified name, if set; $default otherwise.

1 method overrides SearchApiMultiQueryInterface::getOption()
SearchApiMultiQuery::getOption in ./search_api_multi.query.inc
Retrieves a single option.

File

./search_api_multi.query.inc, line 291

Class

SearchApiMultiQueryInterface
Interface representing a search query on multiple Search API indexes.

Code

public function getOption($name, $default = NULL);