Class mosPageNav

Description

Page navigation support class

Located in /administrator/includes/pageNavigation.php (line 17)


	
			
Variable Summary
int $limit
int $total
Method Summary
mosPageNav mosPageNav (mixed $total, mixed $limitstart, mixed $limit)
string getLimitBox ()
void getListFooter ()
string getPagesCounter ()
string getPagesLinks ()
string orderDownIcon (int $i, int $n, [string $condition = true], [string $task = 'orderdown'], [mixed $alt = 'Move Down'])
string orderUpIcon (int $i, [string $condition = true], [string $task = 'orderup'], [mixed $alt = 'Move Up'])
int rowNumber (int $i)
void writeLimitBox ()
void writePagesLinks ()
Variables
int $limit = null (line 21)
  • var: Number of rows to display per page
int $limitstart = null (line 19)
  • var: The record number to start dislpaying from
int $total = null (line 23)
  • var: Total number of rows
Methods
Constructor mosPageNav (line 25)
mosPageNav mosPageNav (mixed $total, mixed $limitstart, mixed $limit)
getLimitBox (line 39)
  • return: The html for the limit # input box
string getLimitBox ()
getListFooter (line 130)
void getListFooter ()
getPagesCounter (line 64)
  • return: The html for the pages counter, eg, Results 1-10 of x
string getPagesCounter ()
getPagesLinks (line 88)
  • return: The html links for pages, eg, previous, next, 1 2 3 ... x
string getPagesLinks ()
orderDownIcon (line 167)
string orderDownIcon (int $i, int $n, [string $condition = true], [string $task = 'orderdown'], [mixed $alt = 'Move Down'])
  • int $i: The row index
  • int $n: The number of items in the list
  • string $condition: The task to fire
  • string $task: The alt text for the icon
orderUpIcon (line 153)
string orderUpIcon (int $i, [string $condition = true], [string $task = 'orderup'], [mixed $alt = 'Move Up'])
  • int $i: The row index
  • string $condition: The task to fire
  • string $task: The alt text for the icon
rowNumber (line 144)
int rowNumber (int $i)
  • int $i: The row index
writeLimitBox (line 55)

Writes the html limit # input box

void writeLimitBox ()
writePagesCounter (line 58)
void writePagesCounter ()
writePagesLinks (line 82)

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

void writePagesLinks ()

Documentation generated on Fri, 4 Mar 2005 13:56:50 +1000 by phpDocumentor 1.3.0RC3