Pager_Sliding

Pager_Sliding

Table of Contents
Introduction -- Usage of Pager_Sliding
Pager (v.1.x) vs. Pager_Sliding -- Feature comparison of the two classes
Pager_Sliding::getCurrentPageID() -- Returns current page number
Pager_Sliding::getLinks() --  Returns back/next/first/last and page links, both as ordered and associative array.
Pager_Sliding::getNextPageID() -- Returns next page number.
Pager_Sliding::getOffsetByPageId() -- Returns offsets for given pageID.
Pager_Sliding::getPageData() -- Returns an array of current pages data
Pager_Sliding::getPageIdByOffset() -- Overload PEAR::Pager method. VOID.
Pager_Sliding::getPreviousPageID() -- Returns previous page number.
Pager_Sliding::isFirstPage() -- Returns whether current page is first page
Pager_Sliding::isLastPage() -- Returns whether current page is last page
Pager_Sliding::isLastPageComplete() -- Returns whether last page is complete
Pager_Sliding::numItems() -- Returns number of items
Pager_Sliding::numPages() -- Returns number of pages
Pager_Sliding::Sliding() -- Creates a pager instance

Data paging class which also builds links to the pages.

© Copyright 2003-2014 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.