TableSort::init

7 tablesort.inc protected TableSort::init()
8 tablesort.inc protected TableSort::init()

Initialize the table sort context.

File

includes/tablesort.inc, line 60
Functions to aid in the creation of sortable tables.

Code

protected function init() {
  $ts = $this->order();
  $ts['sort'] = $this->getSort();
  $ts['query'] = $this->getQueryParameters();
  return $ts;
}
Login or register to post comments