PHP Classes

Extended Generic Pager: Paginate data listings from arrays, CSV or MySQL

Recommend this page to a friend!
  Info   View files View files (22)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-09 (4 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 562 This week: 1All time: 5,419 This week: 350Up
Version License PHP version Categories
ext-generic-pager 1.0GNU General Publi...5.0HTML, PHP 5, Databases
Description 

Author

This package can paginate data listings from arrays, CSV files or MySQL databases.

There is a base class that can generate links to browse listings split in pages to the next, previous, first, last and intermediate pages.

Additional sub-classes are provided to take the data for the listings from arrays, CSV files or MySQL database queries using either the PHP MySQL extension or PDO.

The URLs and text labels of the links are configurable.

Picture of Mark Rolich
  Performance   Level  
Innovation award
Innovation award
Nominee: 2x

 

Details

This PHP package can be used to browse listings of entries split in multiple pages. The format of records can be MySQL, CSV or plain array. The class can generate a HTML list with links to browse the listing pages, optionally with links to the previous, next, first and last pages. The URLs and text labels of the links are configurable. Copyright (C) 2012 Mark Rolich

  Files folder image Files  
File Role Description
Files folder imageexamples (16 files)
Accessible without login Plain text file license.txt Doc. License
Plain text file Pager.php Class Main class
Plain text file PagerArray.php Class Extension of main class for arrays
Plain text file PagerCSV.php Class Extension of main class for CSV files
Plain text file PagerMySQL.php Class Extension of main class for MySQL
Accessible without login Plain text file README Data Readme

 Version Control Unique User Downloads Download Rankings  
 100%
Total:562
This week:1
All time:5,419
This week:350Up