API - XOOPS 2.5.11 Beta 2
By monxoops.fr
XoopsPageNav Class Reference

Public Member Functions

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

Data Fields

 $total
 
 $perpage
 
 $current
 
 $url
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

__construct (   $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

Member Function Documentation

◆ renderImageNav()

renderImageNav (   $offset = 4)

Create navigation with images

Parameters
integer$offset
Returns
string

◆ renderNav()

renderNav (   $offset = 4)

Create text navigation

Parameters
integer$offset
Returns
string

◆ renderSelect()

renderSelect (   $showbutton = false)

Create a navigational dropdown list

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

Field Documentation

◆ $current

$current

◆ $perpage

$perpage

◆ $total

$total

*#+

@access private

◆ $url

$url

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