tablesort_init

tablesort_init($header)

Initializes the table sort context.

File

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

Code

function tablesort_init($header) {
  $ts = tablesort_get_order($header);
  $ts['sort'] = tablesort_get_sort($header);
  $ts['query'] = tablesort_get_query_parameters();
  return $ts;
}
doc_Drupal
2016-10-29 09:46:15
Comments
Leave a Comment

Please login to continue.