TableSort::init
protected function TableSort::init
protected TableSort::init()
Initializes the table sort context.
File
- includes/tablesort.inc, line 59
- Functions to aid in the creation of sortable tables.
Class
- TableSort
- Query extender class for tablesort queries.
Code
protected function init() { $ts = $this->order(); $ts['sort'] = $this->getSort(); $ts['query'] = $this->getQueryParameters(); return $ts; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!tablesort.inc/function/TableSort::init/7.x