public function SearchApiQueryInterface::getSort in Search API 7
Retrieves the sorts set for this query.
Return value
array An array specifying the sort order for this query. Array keys are the field names in order of importance, the values are the respective order in which to sort the results according to the field.
See also
sort()
1 method overrides SearchApiQueryInterface::getSort()
- SearchApiQuery::getSort in includes/
query.inc - Retrieves the sorts set for this query.
File
- includes/
query.inc, line 330 - Contains SearchApiQueryInterface and SearchApiQuery.
Class
- SearchApiQueryInterface
- Interface representing a search query on an Search API index.
Code
public function &getSort();