PHP Classes

Page Navigator - with median: Generate paginated listing metadata

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 282 All time: 7,597 This week: 488Up
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

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 (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:282
This week:0
All time:7,597
This week:488Up