You are here

function DrupalSolrQueryInterface::getSolrsort in Apache Solr Search 6.3

Same name and namespace in other branches
  1. 8 apachesolr.interface.inc \DrupalSolrQueryInterface::getSolrsort()
  2. 7 apachesolr.interface.inc \DrupalSolrQueryInterface::getSolrsort()

Gets the current sort.

Return value

array The current sort as an array with the keys '#name', for the name of the field, and '#direction', for the sort direction ('asc' or 'desc').

1 method overrides DrupalSolrQueryInterface::getSolrsort()
SolrBaseQuery::getSolrsort in ./Solr_Base_Query.php
Gets the current sort.

File

./apachesolr.interface.inc, line 277

Class

DrupalSolrQueryInterface
The interface for all 'query' objects.

Code

function getSolrsort();