JPaginationPagination Class. Provides a common interface for content pagination for the Joomla! CMS.
Located in /libraries/cms/pagination/pagination.php (line 19)
JPagination
__construct
(integer $total, integer $limitstart, integer $limit, [string $prefix = ''])
string
orderDownIcon
(integer $i, integer $n, [boolean $condition = true], [string $task = 'orderdown'], [string $alt = 'JLIB_HTML_MOVE_DOWN'], [boolean $enabled = true], [string $checkbox = 'cb'])
string
orderUpIcon
(integer $i, [boolean $condition = true], [string $task = 'orderup'], [string $alt = 'JLIB_HTML_MOVE_UP'], [boolean $enabled = true], [string $checkbox = 'cb'])
array
$additionalUrlParams
= array() (line 82)
Additional URL parameters to be added to the pagination URLs generated by the class. These may be useful for filters and extra values when dealing with lists and GET requests.
integer
$limit
= null (line 31)
integer
$limitstart
= null (line 25)
integer
$pagesCurrent
(line 61)
integer
$pagesStart
(line 49)
integer
$pagesStop
(line 55)
integer
$pagesTotal
(line 67)
integer
$prefix
= null (line 43)
integer
$total
= null (line 37)
boolean
$viewall
= false (line 73)
Constructor.
Returns a property of the object or the default value if the property is not set.
Method to get an additional URL parameter (if it exists) to be added to all pagination class generated links.
Return the pagination data object, only creating it if it doesn't already exist.
Creates a dropdown box for selecting how many records to show per page.
Create and return the pagination pages counter string, ie. Page 2 of 4.
Create and return the pagination page list string, ie. Previous, Next, 1 2 3 ... x.
Create and return the pagination result set counter string, e.g. Results 1-10 of 42
Return the rationalised offset for a row with a given index.
Return the icon to move an item DOWN.
Return the icon to move an item UP.
Modifies a property of the object, creating it if it does not already exist.
Method to set an additional URL parameter to be added to all pagination class generated links.
Create and return the pagination data object.
Method to create an active pagination link to the item
Method to create an inactive pagination string
Create the HTML for a list footer
Create the html for a list footer
Documentation generated on Tue, 19 Nov 2013 15:10:08 +0100 by phpDocumentor 1.4.3