\Prosto_Page_Navigation

Page navigation support class

Summary

Methods
Properties
Constants
Prosto_Page_Navigation()
writeLimitBox()
getLimitBox()
writePagesCounter()
getPagesCounter()
writePagesLinks()
vmRoute()
getPagesLinks()
getListFooter()
rowNumber()
orderUpIcon()
orderDownIcon()
$limitstart
$limit
$total
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$limitstart

$limitstart : integer

Type

integer — The record number to start dislpaying from

$limit

$limit : integer

Type

integer — Number of rows to display per page

$total

$total : integer

Type

integer — Total number of rows

Methods

Prosto_Page_Navigation()

Prosto_Page_Navigation(  $total,   $limitstart,   $limit) 

Parameters

$total
$limitstart
$limit

writeLimitBox()

writeLimitBox(  $link = '') 

Writes the html limit # input box Modified by shumisha to handle SEF URLs 2008-06-28

Parameters

$link

getLimitBox()

getLimitBox(  $link = '') : string

Modified by shumisha to handle SEF URLs 2008-06-28

Parameters

$link

Returns

string —

The html for the limit # input box

writePagesCounter()

writePagesCounter() 

getPagesCounter()

getPagesCounter() : string

Returns

string —

The html for the pages counter, eg, Results 1-10 of x

writePagesLinks()

writePagesLinks(  $link = '') 

Writes the html for the pages counter, eg, Results 1-10 of x

Parameters

$link

vmRoute()

vmRoute(  $nonSefUrl) 

Parameters

$nonSefUrl

getPagesLinks()

getPagesLinks(  $link = '') : string

Parameters

$link

Returns

string —

The html links for pages, eg, previous, next, 1 2 3 ... x

getListFooter()

getListFooter() 

rowNumber()

rowNumber(  $i) : integer

Parameters

$i

Returns

integer

orderUpIcon()

orderUpIcon(  $i,   $condition = true,   $task = 'orderup',   $alt = '',   $page,   $func) : string

Parameters

$i
$condition
$task
$alt
$page
$func

Returns

string

orderDownIcon()

orderDownIcon(  $i,   $n,   $condition = true,   $task = 'orderdown',   $alt = '',   $page,   $func) : string

Parameters

$i
$n
$condition
$task
$alt
$page
$func

Returns

string