protected function TableSort::init
Initializes the table sort context.
2 calls to TableSort::init()
- TableSort::orderByHeader in drupal-7.x/
includes/ tablesort.inc - Order the query based on a header array.
- TableSort::orderByHeader in drupal-7.x/
includes/ tablesort.inc - Order the query based on a header array.
Archivo
- drupal-7.x/
includes/ tablesort.inc, line 60 - Functions to aid in the creation of sortable tables.
Class
- TableSort
- Query extender class for tablesort queries.
Código
protected function init() {
$ts = $this->order();
$ts['sort'] = $this->getSort();
$ts['query'] = $this->getQueryParameters();
return $ts;
}