分页链接 theme_pager

theme_pager  ( $  tags = array(), 
  $  limit = 10, 
  $  element = 0, 
  $  parameters = array(), 
  $  quantity = 9  
)   

Format a query pager.

Menu callbacks that display paged query results should call theme('pager') to retrieve a pager control so that users can view other results. Format a list of nearby pages with additional query results.


Parameters:
$tags  An array of labels for the controls in the pager. 
$limit  The number of query results to display per page. 
$element  An optional integer to distinguish between multiple pagers on one page. 
$parameters  An associative array of query string parameters to append to the pager links. 
$quantity  The number of pages in the list. 

Returns:
An HTML string that generates the query pager.

你可能感兴趣的:(html)