Login   Register  
PHP Classes

Result Pager: Split listings in multiple pages

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Chris Pliakas
Name: Chris Pliakas <e-mail contact>
Packages: 2 Browse all classes by Chris Pliakas Browse all classes by
Country: United States United States - PHP jobs in United States
Age: 32
All time rank: 1360184 in United States United States
Week rank: 605 Up68 in United States United States Up

  Detailed description   Download Download .zip .tar.gz  
This class can be use to generate navigation of listings split in multiple pages.

It takes as parameters the total number of items in the listing, the limit number of items to display per page and the number of the current page.

The class returns an array with the number of the first item and the range of items to show in the current page, the total number of pages, the need to present the next and previous links, and the LIMIT clause if the listing is to be retrieved from a MySQL database or similar.

The class also provides an iterator to return the navigation page offsets or HTML links to display in the current page. The template of the links is configurable.

  Classes of Chris Pliakas  >  Result Pager  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Result Pager
Base name: resultpager
Description: Split listings in multiple pages
Version: 1.0
PHP version: 5.0
License: Free for non-commercial use
All time users: 804 users
All time rank: 3875
Week users: 0 users
Week rank: 2000 Equal
  Groups   Rate classes User ratings   Applications   Files Files  

Group folder image HTML HTML generation and processing View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example of pager class
Plain text file pager.php Class Pager class

Download Download all files: resultpager.tar.gz resultpager.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.