function tablesort_get_query_parameters

7.x tablesort.inc tablesort_get_query_parameters()

Composes a URL query parameter array for table sorting links.

Return value

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

2 calls to tablesort_get_query_parameters()
TableSort::getQueryParameters in drupal-7.x/includes/tablesort.inc
Compose a URL query parameter array to append to table sorting requests.
tablesort_init in drupal-7.x/includes/tablesort.inc
Initialize the table sort context.

File

drupal-7.x/includes/tablesort.inc, line 190
Functions to aid in the creation of sortable tables.

Code

function tablesort_get_query_parameters() {
  return drupal_get_query_parameters($_GET, array('q', 'sort', 'order'));
}