XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
XoopsPageNav Class Reference

Public Member Functions

 renderImageNav ($offset=4)
 
 renderNav ($offset=4)
 
 renderSelect ($showbutton=false)
 
 XoopsPageNav ($total_items, $items_perpage, $current_start, $start_name="start", $extra_arg="")
 

Public Attributes

 $current
 
 $perpage
 
 $total
 
 $url
 

Detailed Description

Definition at line 22 of file pagenav.php.

Member Function Documentation

XoopsPageNav::renderImageNav (   $offset = 4)

Create navigation with images

Parameters
integer$offset
Returns
string

Definition at line 145 of file pagenav.php.

References $next, and $ret.

XoopsPageNav::renderNav (   $offset = 4)

Create text navigation

Parameters
integer$offset
Returns
string

Definition at line 64 of file pagenav.php.

References $next, and $ret.

XoopsPageNav::renderSelect (   $showbutton = false)

Create a navigational dropdown list

Parameters
boolean$showbuttonShow the "Go" button?
Returns
string

Definition at line 110 of file pagenav.php.

References $ret, and _GO.

XoopsPageNav::XoopsPageNav (   $total_items,
  $items_perpage,
  $current_start,
  $start_name = "start",
  $extra_arg = "" 
)

*#@- Constructor

Parameters
int$total_itemsTotal number of items
int$items_perpageNumber of items per page
int$current_startFirst item on the current page
string$start_nameName for "start" or "offset"
string$extra_argAdditional arguments to pass in the URL

Definition at line 46 of file pagenav.php.

References $_SERVER.

Member Data Documentation

XoopsPageNav::$current

Definition at line 31 of file pagenav.php.

XoopsPageNav::$perpage

Definition at line 30 of file pagenav.php.

XoopsPageNav::$total

*#@+

private

Definition at line 29 of file pagenav.php.

XoopsPageNav::$url

Definition at line 32 of file pagenav.php.


The documentation for this class was generated from the following file: