Textpattern | PHP Cross Reference | Content Management Systems |
Description: List pagination.
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Paginator:: (5 methods):
__construct()
render()
getLimit()
change()
closest()
__construct($evt = null, $prefix = null) line: 69 |
Constructor. The available sizes can be changed via a '{$this->event}_ui > pageby_values' callback event. param: string $evt Textpattern event (panel) param: string $prefix Prefix for the pref that holds the current paging value |
render($val = null) line: 98 |
Renders a widget to select various amounts to page lists by. return: string HTML param: int $val Current pagination setting |
getLimit() line: 143 |
Fetch the current paging limit, or lowest default. return: int |
change() line: 153 |
Updates a list's per page number. Gets the per page number from a "qty" HTTP POST/GET parameter and creates a user-specific preference value suffixed "_list_pageby". The assignment to $GLOBALS is for legacy plugins and can be removed in future. |
closest($val = null) line: 173 |
Find closest value to $val from $sizes. return: int Closest supported value param: int $val Value to compare |
title