You are here

function tablesort_get_query_parameters in Drupal 7

Same name and namespace in other branches
  1. 8 core/includes/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 includes/tablesort.inc
Compose a URL query parameter array to append to table sorting requests.
tablesort_init in includes/tablesort.inc
Initialize the table sort context.

File

includes/tablesort.inc, line 189
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',
  ));
}