API15

Difference between revisions of "JPagination"

From Joomla! Documentation

Line 52: Line 52:
 
<source lang="php">jimport( 'joomla.html.pagination' );</source>
 
<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>
+
<span class="editsection" style="font-size:76%;"><nowiki>[</nowiki>[[SeeAlso:JPagination|Edit See Also]]<nowiki>]</nowiki></span>
 
{{SeeAlso:JPagination}}
 
{{SeeAlso:JPagination}}
  

Revision as of 03:21, 24 October 2010

The "API15" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

[

Edit Descripton] Template:Description:JPagination

Defined in[edit]

libraries/joomla/html/pagination.php

Methods[edit]

Method name Description
__construct Constructor
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

Importing[edit]

jimport( 'joomla.html.pagination' );

[Edit See Also] Template:SeeAlso:JPagination

Examples[edit]

<CodeExamplesForm />