public function SearchApiQueryInterface::getOption in Search API 7
Retrieves an option set on this search query.
Parameters
string $name: The name of an option.
mixed $default: The value to return if the specified option is not set.
Return value
mixed The value of the option with the specified name, if set. NULL otherwise.
1 method overrides SearchApiQueryInterface::getOption()
- SearchApiQuery::getOption in includes/
query.inc - Retrieves an option set on this search query.
File
- includes/
query.inc, line 343 - Contains SearchApiQueryInterface and SearchApiQuery.
Class
- SearchApiQueryInterface
- Interface representing a search query on an Search API index.
Code
public function getOption($name, $default = NULL);