PHP Classes

PageNavigator - generate navigation for listings: Show links to browse lists split in multiple pages

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 51%Total: 1,618 All time: 2,439 This week: 488Up
Version License PHP version Categories
pagenavigator 1.0.0GNU General Publi...4.3HTML
Description 

Author

This class can be used to show navigation links to browse listings split in multiple pages.

It takes the total number of entries in a listing and an optional limit number of entries to display per page.

The class shows a navigation bar made of HTML links similar to Google, to browse between the pages of the listing, considering the number of the current page.

It may also generate a form select input with an interval of pages to jump. When the use selects one page, the browser is redirected to the associated listing page.

The texts that may show in the links can be presented in English or Italian.

Picture of Michele Castellucci
Name: Michele Castellucci <contact>
Classes: 4 packages by
Country: Italy Italy

Screenshots (1)  
  • screenshot.jpg
  Files folder image Files (9)  
File Role Description
Accessible without login Plain text file functions.inc.php Aux. Auxiliary script
Plain text file index.php Example Example script
Image file next.gif Icon next page button
HTML file PageNavigator.html Doc. Documentation of the class in Italian
Plain text file PageNavigator.php Class The main class
Plain text file PageNavigator.txt Doc. Documentation in Italian
Image file prev.gif Icon Previous page button
Plain text file style.css Data CSS for select input

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 Reuses Unique User Downloads Download Rankings  
 0%1
Total:1,618
This week:0
All time:2,439
This week:488Up
 User Ratings  
 
 All time
Utility:68%StarStarStarStar
Consistency:62%StarStarStarStar
Documentation:43%StarStarStar
Examples:62%StarStarStarStar
Tests:-
Videos:-
Overall:51%StarStarStar
Rank:2584