Data pagination object holds data that calculate per page output (start, end, number of pages, first and last page etc)
Located in /environment/classes/dataaccess/DataPagination.class.php (line 10)
Construct the DataPagination
Return number of items on specific page
Get current_page
Get items_per_page
Return first param for LIMIT in queries. Second one is number of items per page
Return next page number. In case of an error this function will return current page number. Check if next page exists using hasNext() function
Return previous page. If there is some kind of error function will return current page. Check existance of prev page using hasPrevious() function
Get total_items
Return total number of pages
Check if specific page has next page. If $page is null function will use current page
Check if specific page has previous page. If $page is null function will use current page
Check if specific page is current page. If $page is null function will use current page
Check if specific page is first page. If $page is null function will use current page
Check if specific page is last page. If $page is null function will use current page
Set current_page value
Set items_per_page value
Set total_items value
Documentation generated on Wed, 23 Jan 2008 01:58:33 +0000 by phpDocumentor 1.4.0