Class mosPageNav

Description

Page navigation support class

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


	
			
Variable Summary
 int $limit
 int $total
Method Summary
 mosPageNav mosPageNav ( $total,  $limitstart,  $limit)
 string getLimitBox ()
 void getListFooter ()
 string getPagesCounter ()
 string getPagesLinks ()
 string orderDownIcon (int $i, int $n, [string $condition = true], [string $task = 'orderdown'])
 string orderUpIcon (int $i, [string $condition = true], [string $task = 'orderup'])
 int rowNumber (int $i)
 void writeLimitBox ()
 void writePagesLinks ()
Variables
int $limit = null (line 25)
  • var: Number of rows to display per page
int $limitstart = null (line 23)
  • var: The record number to start dislpaying from
int $total = null (line 27)
  • var: Total number of rows
Methods
Constructor mosPageNav (line 29)
mosPageNav mosPageNav ( $total,  $limitstart,  $limit)
  • $total
  • $limitstart
  • $limit
getLimitBox (line 43)
  • return: The html for the limit # input box
string getLimitBox ()
getListFooter (line 134)
void getListFooter ()
getPagesCounter (line 68)
  • return: The html for the pages counter, eg, Results 1-10 of x
string getPagesCounter ()
getPagesLinks (line 92)
  • return: The html links for pages, eg, previous, next, 1 2 3 ... x
string getPagesLinks ()
orderDownIcon (line 174)
string orderDownIcon (int $i, int $n, [string $condition = true], [string $task = 'orderdown'])
  • 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 157)
string orderUpIcon (int $i, [string $condition = true], [string $task = 'orderup'])
  • int $i: The row index
  • string $condition: The task to fire
  • string $task: The alt text for the icon
rowNumber (line 148)
int rowNumber (int $i)
  • int $i: The row index
writeLimitBox (line 59)

Writes the html limit # input box

void writeLimitBox ()
writePagesCounter (line 62)
void writePagesCounter ()
writePagesLinks (line 86)

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

void writePagesLinks ()

Documentation generated on Mon, 05 May 2008 16:21:43 +0400 by phpDocumentor 1.4.0