public function SearchApiQueryInterface::setOption in Search API 7
Sets an option for this search query.
Parameters
string $name: The name of an option.
mixed $value: The new value of the option.
Return value
mixed The option's previous value.
1 method overrides SearchApiQueryInterface::setOption()
- SearchApiQuery::setOption in includes/
query.inc - Sets an option for this search query.
File
- includes/
query.inc, line 356 - Contains SearchApiQueryInterface and SearchApiQuery.
Class
- SearchApiQueryInterface
- Interface representing a search query on an Search API index.
Code
public function setOption($name, $value);