You are here

function tablesort_get_querystring in Drupal 6

Same name and namespace in other branches
  1. 4 includes/tablesort.inc \tablesort_get_querystring()
  2. 5 includes/tablesort.inc \tablesort_get_querystring()

Compose a query string to append to table sorting requests.

Return value

A query string that consists of all components of the current page request except for those pertaining to table sorting.

1 call to tablesort_get_querystring()
tablesort_init in includes/tablesort.inc
Initialize the table sort context.

File

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

Code

function tablesort_get_querystring() {
  return drupal_query_string_encode($_REQUEST, array_merge(array(
    'q',
    'sort',
    'order',
    'pass',
  ), array_keys($_COOKIE)));
}