pager_get_querystring

  1. drupal
    1. 4.7
    2. 5
    3. 6 pager.inc
Versions
4.7 – 6 pager_get_querystring()

Compose a query string to append to pager requests.

Return value

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

Code

includes/pager.inc, line 93

<?php
function pager_get_querystring() {
  static $string = NULL;
  if (!isset($string)) {
    $string = drupal_query_string_encode($_REQUEST, array_merge(array('q', 'page'), array_keys($_COOKIE)));
  }
  return $string;
}
?>