1 pager.inc pager_get_query_parameters()

Compose a URL query parameter array for pager links.

Return value

A URL query parameter array that consists of all components of the current: page request except for those pertaining to paging.


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


function pager_get_query_parameters() {
  $query = &backdrop_static(__FUNCTION__);
  if (!isset($query)) {
    $query = backdrop_get_query_parameters($_GET, array('q', 'page'));
  return $query;