function pager_get_querystring in Drupal 5
Same name and namespace in other branches
- 4 includes/pager.inc \pager_get_querystring()
- 6 includes/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()
- theme_pager_link in includes/
pager.inc - Format a link to a specific query result page.
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;
}