PHP Classes

Page Navigator - with median: Generate paginated listing metadata

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-06-20 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 275 All time: 6,904 This week: 1,463Up
Version License PHP version Categories  
page-navigate-median 1.0GNU General Publi...5HTML
Description Author  

This class can be used to generate paginated listing metadata.

It takes as parameters the total numbers of entries in a list, the number of the current page, the limit of entries to display per page and the base URL of the listing pages.

The class returns an associative array with metadata to be used generate paginated navigation links. It includes HTML for the next, previous, first, last links, the limit clause to be used in database query, total number of pages in the listing, and the start position.

Picture of dhananjay kumar
Name: dhananjay kumar <contact>
Classes: 1 package by
Country: India India
Age: 38
All time rank: 3514243 in India India
Week rank: 1548 Up112 in India India Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file medianpage.php Example example page
Plain text file PageNavigation.Class.php Class pagination class
Accessible without login Plain text file readme.txt Doc. readme text

 Version Control Unique User Downloads Download Rankings  
 0%Total:275All time:6,904
 This week:0This week:1,463Up