1 tablesort.class.inc | protected TableSort::getSort() |
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").:
File
- core/
includes/ tablesort.class.inc, line 69 - Classes for extending table sort queries.
Class
- TableSort
- Query extender class for tablesort queries.
Code
protected function getSort() {
return tablesort_get_sort($this->header);
}