C:/drupal/includes/pager.inc File Reference

Go to the source code of this file.


Functions

 pager_query ($query, $limit=10, $element=0, $count_query=NULL)
 pager_get_querystring ()
 theme_pager ($tags=array(), $limit=10, $element=0, $parameters=array(), $quantity=9)
 pager_load_array ($value, $element, $old_array)
Pager pieces
Use these pieces to construct your own custom pagers in your theme. Note that you should NOT modify this file to customize your pager.

 theme_pager_first ($text, $limit, $element=0, $parameters=array())
 theme_pager_previous ($text, $limit, $element=0, $interval=1, $parameters=array())
 theme_pager_next ($text, $limit, $element=0, $interval=1, $parameters=array())
 theme_pager_last ($text, $limit, $element=0, $parameters=array())
 theme_pager_link ($text, $page_new, $element, $parameters=array(), $attributes=array())


Detailed Description

Functions to aid in presenting database results as a set of pages.

Definition in file pager.inc.


Function Documentation

pager_get_querystring (  ) 

Compose a query string to append to pager requests.

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

Definition at line 85 of file pager.inc.

References drupal_query_string_encode().

Referenced by theme_pager_link().

Here is the call graph for this function:

pager_load_array ( value,
element,
old_array 
)

End of "Pager pieces". Helper function

Copies $old_array to $new_array and sets $new_array[$element] = $value Fills in $new_array[0 .. $element - 1] = 0

Definition at line 422 of file pager.inc.

References $value.

Referenced by theme_pager_first(), theme_pager_last(), theme_pager_link(), theme_pager_next(), and theme_pager_previous().


Generated on Mon Jun 2 15:08:07 2008 for SimpleTest by  1.5.5