tablesort_init
Definition
tablesort_init($header)
includes/tablesort.inc, line 14
Description
Initialize the table sort context.
Code
<?php
function tablesort_init($header) {
$ts = tablesort_get_order($header);
$ts['sort'] = tablesort_get_sort($header);
$ts['query_string'] = tablesort_get_querystring();
return $ts;
}
?> 