API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
JPagination::__construct | ( | $ | total, |
$ | limitstart, | ||
$ | limit | ||
) |
Constructor
int | The total number of items |
int | The offset of the item to start at |
int | The number of items to display per page |
Références $total.
JPagination::_buildDataObject | ( | ) |
Create and return the pagination data object
public
Références $data, $i, JRoute::_(), et JText::_().
JPagination::_item_active | ( | &$ | item | ) |
Références $item, et $mainframe.
JPagination::_item_inactive | ( | &$ | item | ) |
Références $mainframe.
JPagination::_list_footer | ( | $ | list | ) |
JPagination::_list_render | ( | $ | list | ) |
Références $list.
JPagination::getData | ( | ) |
Return the pagination data object, only creating it if it doesn't already exist
public
Références $data.
JPagination::getLimitBox | ( | ) |
Creates a dropdown box for selecting how many records to show per page
public
Références $i, $mainframe, JText::_(), et JHTML::_().
JPagination::getListFooter | ( | ) |
Return the pagination footer
public
Références $list, $mainframe, et pagination_list_footer().
JPagination::getPagesCounter | ( | ) |
Create and return the pagination pages counter string, ie. Page 2 of 4
public
Références JText::sprintf().
JPagination::getPagesLinks | ( | ) |
Create and return the pagination page list string, ie. Previous, Next, 1 2 3 ... x
public
Références $data, $i, $lang, $list, $mainframe, JFactory::getLanguage(), pagination_item_active(), pagination_item_inactive(), et pagination_list_render().
JPagination::getResultsCounter | ( | ) |
Create and return the pagination result set counter string, ie. Results 1-10 of 42
public
Références JText::sprintf().
JPagination::getRowOffset | ( | $ | index | ) |
Return the rationalised offset for a row with a given index.
public
int | $index | The row index |
JPagination::orderDownIcon | ( | $ | i, |
$ | n, | ||
$ | condition = true , |
||
$ | task = 'orderdown' , |
||
$ | alt = 'Move Down' , |
||
$ | enabled = true |
||
) |
Return the icon to move an item DOWN
public
int | $i | The row index |
int | $n | The number of items in the list |
boolean | $condition | True to show the icon |
string | $task | The task to fire |
string | $alt | The image alternate text string |
JPagination::orderUpIcon | ( | $ | i, |
$ | condition = true , |
||
$ | task = 'orderup' , |
||
$ | alt = 'Move Up' , |
||
$ | enabled = true |
||
) |
Return the icon to move an item UP
public
int | $i | The row index |
boolean | $condition | True to show the icon |
string | $task | The task to fire |
string | $alt | The image alternate text string |
Références $i, et JText::_().
JPagination::$_viewall = false |
JPagination::$limit = null |
JPagination::$limitstart = null |
JPagination::$total = null |