function tablesort_get_query_parameters

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.

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'));
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!tablesort.inc/function/tablesort_get_query_parameters/7.x