protected function TableSort::getSort in Drupal 7
Determine the current sort direction.
Parameters
$headers: An array of column headers in the format described in theme_table().
Return value
The current sort direction ("asc" or "desc").
1 call to TableSort::getSort()
- TableSort::init in includes/
tablesort.inc - Initializes the table sort context.
File
- includes/
tablesort.inc, line 74 - Functions to aid in the creation of sortable tables.
Class
- TableSort
- Query extender class for tablesort queries.
Code
protected function getSort() {
return tablesort_get_sort($this->header);
}