1 tablesort.class.inc protected TableSort::init()

Initialize the table sort context.

File

core/includes/tablesort.class.inc, line 54
Classes for extending table sort queries.

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;
}