API16

JPagination: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JPagination}} ===Defined in==...
 
Batch1211 (talk | contribs)
No edit summary
Line 48: Line 48:
|Return the icon to move an item DOWN.
|Return the icon to move an item DOWN.
|}
|}
===Importing===
<source lang="php">jimport( 'joomla.html.pagination' );</source>
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[SeeAlso:JPagination|Edit See Also]]<nowiki>]</nowiki>
</span>
{{SeeAlso:JPagination}}
===Examples===
<CodeExamplesForm />
<dpl>
noresultsheader=\n
category=JPagination
category=CodeExample
category=ClassExample
include=*
format= ,,,
</dpl>

Revision as of 16:39, 28 September 2010

[Edit Descripton] Template:Description:JPagination

Defined in

libraries/joomla/html/pagination.php

Methods

Method name Description
__construct Constructor.
setAdditionalUrlParam Method to set an additional URL parameter to be added to all pagination class generated links.
getAdditionalUrlParam Method to get an additional URL parameter to be added to all pagination class generated links if it exists.
getRowOffset Return the rationalised offset for a row with a given index.
getData Return the pagination data object, only creating it if it doesn't already exist.
getPagesCounter Create and return the pagination pages counter string, ie. Page 2 of 4.
getResultsCounter Create and return the pagination result set counter string, ie. Results 1-10 of 42
getPagesLinks Create and return the pagination page list string, ie. Previous, Next, 1 2 3 ... x.
getListFooter Return the pagination footer.
getLimitBox Creates a dropdown box for selecting how many records to show per page.
orderUpIcon Return the icon to move an item UP.
orderDownIcon Return the icon to move an item DOWN.