XOOPS
2.6.0
|
Public Member Functions | |
__construct ($total_items, $items_perpage, $current_start, $start_name="start", $extra_arg="") | |
renderImageNav ($offset=4) | |
renderNav ($offset=4, $size="", $align="right", $prev_text="«", $next_text="»") | |
renderSelect ($align="right", $showbutton=false) | |
Private Attributes | |
$current | |
$extra | |
$perpage | |
$total | |
$url | |
Definition at line 23 of file pagenav.php.
XoopsPageNav::__construct | ( | $total_items, | |
$items_perpage, | |||
$current_start, | |||
$start_name = "start" , |
|||
$extra_arg = "" |
|||
) |
Constructor
int | $total_items | Total number of items |
int | $items_perpage | Number of items per page |
int | $current_start | First item on the current page |
string | $start_name | Name for "start" or "offset" |
string | $extra_arg | Additional arguments to pass in the URL |
Definition at line 64 of file pagenav.php.
References $_SERVER.
XoopsPageNav::renderImageNav | ( | $offset = 4 | ) |
Create navigation with images
integer | $offset |
Definition at line 214 of file pagenav.php.
References $xoops, Xoops\getInstance(), and renderNav().
XoopsPageNav::renderNav | ( | $offset = 4 , |
|
$size = "" , |
|||
$align = "right" , |
|||
$prev_text = "«" , |
|||
$next_text = "»" |
|||
) |
Create text navigation
integer | $offset | offset |
string | $size | of pagination (Value: 'large', '', 'small', 'mini') |
string | $align | of pagination (Value: 'right', 'centered') |
string | $prev_text | text for previous |
string | $next_text | text for next |
Definition at line 87 of file pagenav.php.
References $extra, $perpage, $xoops, and Xoops\getInstance().
Referenced by renderImageNav().
XoopsPageNav::renderSelect | ( | $align = "right" , |
|
$showbutton = false |
|||
) |
Create a navigational dropdown list
boolean | $showbutton | Show the "Go" button? |
Definition at line 174 of file pagenav.php.
References $extra, $xoops, and Xoops\getInstance().
|
private |
Definition at line 43 of file pagenav.php.
|
private |
Definition at line 48 of file pagenav.php.
Referenced by renderNav(), and renderSelect().
|
private |
Definition at line 38 of file pagenav.php.
Referenced by renderNav().
|
private |
Definition at line 33 of file pagenav.php.
|
private |
Definition at line 53 of file pagenav.php.