PHP Classes

Page Numbers: Get pages to split listings in multiple pages

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 537 All time: 5,584 This week: 161Up
Version License PHP version Categories
pagenumbers 1.0Freeware4.0Algorithms


This class can be used to generate a list of pages to splitting listings of many entries in multiple pages

It takes as parameter the total number of listing pages and the current page number.

The class initializes an array variable that define the numbers of pages to show in a navigation bar specifying whether each page is the current page or should be displayed as a link to first, last or another page.

Picture of Cristian Radulescu
Name: Cristian Radulescu <contact>
Classes: 1 package by
Country: Romania Romania
Age: 38
All time rank: 318065 in Romania Romania
Week rank: 703 Up14 in Romania Romania Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file index.php Example Usage example
Plain text file pageNumbers.class.php Class Class to generate page number

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,584
This week:161Up