PHP Classes

Page Navigator - with median: Generate paginated listing metadata

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 281 All time: 7,569 This week: 173Up
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: 46
All time rank: 3864265 in India India
Week rank: 578 Up42 in India India Up

Details
Developer: Dhananjay K Sharma ID: dhananjayksharma@gmail.com 1. Copy the PageNavigation.Class.php to your desired folder 2. Call from your required file. 3. You can change the Median size, how many no. of page ? link you want to show on navigation link. 4. You can change the Page Limit size, how many no. of data ? required on your page. 5. You define you web url path in config or in which file you are calling the pagination function.
  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:281
This week:0
All time:7,569
This week:173Up