function pager_get_querystring

7.x theme.inc pager_get_querystring()
6.x theme.inc pager_get_querystring()

Adapted from https://api.drupal.org/api/drupal/includes%21pager.inc/function/pager_ge...

File

includes/theme.inc, line 315

Code

function pager_get_querystring() {
  static $string = NULL;
  if (!isset($string)) {
    $string = fp_query_string_encode($_REQUEST, array_merge(array(
      'q',
      'page',
      'pass',
    ), array_keys($_COOKIE)));
  }
  return $string;
}