function tablesort_init

cis7 tablesort.inc tablesort_init($header)
cle7 tablesort.inc tablesort_init($header)
elmsmedia7 tablesort.inc tablesort_init($header)
icor7 tablesort.inc tablesort_init($header)
meedjum_blog7 tablesort.inc tablesort_init($header)
mooc7 tablesort.inc tablesort_init($header)

Initialize the table sort context.

7 calls to tablesort_init()
nodequeue_node_tab in sites/all/modules/local_contrib/nodequeue/includes/nodequeue.admin.inc
Display the queue controls for a node.
nodequeue_view_queues in sites/all/modules/local_contrib/nodequeue/includes/nodequeue.admin.inc
Display a list of queues and their status for the administrator.
responsive_tables_theme_table in sites/all/modules/local_contrib/responsive_tables/responsive_tables.module
Overrides theme_table() with responsive support.
template_preprocess_forum_topic_list in modules/forum/forum.module
Preprocesses variables for forum-topic-list.tpl.php.
template_preprocess_views_data_export_msoffice_body in sites/all/modules/local_contrib/views_data_export/theme/views_data_export.theme.inc

... See full list

File

includes/tablesort.inc, line 110
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;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.