PHP Classes

Good Pagination: Show links to browse listings split in pages

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
StarStarStar 54%Total: 588 All time: 5,269 This week: 488Up
Version License PHP version Categories
paginacao 1.0GNU General Publi...5.0HTML
Description 

Author

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

It takes the total number of entries in the listing, the limit of entries to display per page, and the current page number to generate HTML links to browse the next, previous, first, last pages of the listing.

The HTML template of for the links is configurable.

In Portuguese:

Essa classe é usada para gerar tanto paginações simples (só os links de paginas) como Avançadas ( Primeira pagina, Proxima pagina, Bloco de paginas anterior, Proximo bloco de paginas, proxima pagina e ultima pagina)
Ela fornece a possibilidade de receber um modelo de HTML e retornalo preenchido.

Picture of Mario cesar chapela barboza
Name: Mario cesar chapela ... <contact>
Classes: 1 package by
Country: Brazil Brazil

  Files folder image Files (4)  
File Role Description
Plain text file paginacao.class.php Class File Class
Accessible without login Plain text file exSimples.php Example Simple example
Accessible without login Plain text file exAvancado.php Example Example advanced
Accessible without login Plain text file ExmploSql.sql Data Sql file with the examples for

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:588
This week:0
All time:5,269
This week:488Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:54%StarStarStar
Rank:2115
 
Ok, thats a goog class !! But, why do you not try to use DB p...
16 years ago (José Filipe Lopes Santos)
70%StarStarStarStar