pager_get_querystring

5 pager.inc pager_get_querystring()
6 pager.inc 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.

1 call to pager_get_querystring()

File

includes/pager.inc, line 84
Functions to aid in presenting database results as a set of pages.

Code

function pager_get_querystring() {
  static $string = NULL;
  if (!isset($string)) {
    $string = drupal_query_string_encode($_REQUEST, array_merge(array('q', 'page', 'pass'), array_keys($_COOKIE)));
  }
  return $string;
}
Login or register to post comments