You are here

public function SearchApiMultiQuery::getSort in Search API Multi-Index Searches 7

Retrieves the set sorts.

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.

Overrides SearchApiMultiQueryInterface::getSort

File

./search_api_multi.query.inc, line 1127

Class

SearchApiMultiQuery
Standard implementation of SearchApiMultiQueryInterface.

Code

public function &getSort() {
  return $this->sort;
}