Set WeberTrivia.com to be my default homepage.   Suggest a Question                                               

Suggest A Question : :  Frequently Asked Questions : :  Search : :  Relevant Manuals : : 
PHP Questions : :  Linux Questions : :  MySQL Questions : : 
home  [ Login ] 

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.

Who's Online
Guest Users: 14
Google
Web
WeberTrivia
WeberDev
WeberForums
 Free Sample Chapters  Free Sample Chapters
  Deliver First Class Web Sites: 101 Essential Checklists
Want to learn how to make your web sites usable and accessible? Want to ensure that your sites meet current best practice, without spending hours trawling through incomprehensible specifications and recommendations from dozens of different books, research papers, and web sites? Want to make sure that the sites you build are "right the first time," requiring no costly redevelopments?

More Sample Chapters

PHP General