public function SearchApiQueryInterface::keys in Search API 7
Sets the keys to search for.
If this method is not called on the query before execution, this will be a filter-only query.
Parameters
array|string|null $keys: A string with the unparsed search keys, or NULL to use no search keys.
Return value
SearchApiQueryInterface The called object.
1 method overrides SearchApiQueryInterface::keys()
- SearchApiQuery::keys in includes/
query.inc - Sets the keys to search for.
File
- includes/
query.inc, line 96 - Contains SearchApiQueryInterface and SearchApiQuery.
Class
- SearchApiQueryInterface
- Interface representing a search query on an Search API index.
Code
public function keys($keys = NULL);