Login   Register  
PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (22)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-06-11 (2 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 510 All time: 5,184 This week: 1,391Up
Version License PHP version Categories  
ext-generic-pager 1.0GNU General Public Lice...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
Name: Mark Rolich <contact>
Classes: 9 packages by
Country: Armenia Armenia
Age: 33
All time rank: 10152 in Armenia Armenia
Week rank: 261 Up2 in Armenia Armenia Equal
Innovation award
Innovation award
Nominee: 2x

  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

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file array.php Example Example of array pagination
  Accessible without login Plain text file csv.php Example Example of CSV pagination
  Accessible without login Plain text file custom.php Example Example of MySQL customized pagination
  Accessible without login Plain text file data.csv Data Data for CSV example
  Accessible without login Plain text file data.php Example Data for array example
  Accessible without login Plain text file data.sql Data Data for MySQL example
  Accessible without login Plain text file example.css Data CSS file for examples
  Accessible without login Plain text file example.custom.tpl.php Example Template for customized example
  Accessible without login Plain text file example.tpl.php Example General template for examples
  Accessible without login Plain text file mysql.php Example Example of MySQL pagination
  Accessible without login Plain text file mysqli.php Example Example of MySQLi pagination
  Accessible without login Plain text file mysqli_prepared.php Example Example of prepared MySQLi pagination
  Accessible without login Plain text file pdo.php Example Example of PDO pagination
  Accessible without login Plain text file pdo_prepared_1.php Example Example of PDO prepared pagination
  Accessible without login Plain text file pdo_prepared_2.php Example Example of PDO prepared pagination
  Accessible without login Plain text file pdo_prepared_3.php Example Example of PDO prepared pagination

 Version Control Unique User Downloads Download Rankings  
 100%Total:510All time:5,184
 This week:0This week:1,391Up