PHP Classes

PHP Paginacao Class: Show links to browse listings split in pages

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 55%Total: 687 This week: 1All time: 4,740 This week: 560Up
Version License PHP version Categories
php_pgclass 1.0GNU General Publi...4.0HTML
Description 

Author

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

It takes the number of the current page and the last page as parameters.

The class generates links to go to the first, last, previous, next and any intermediate pages.

The base link URL, the text of the links, and the link CSS style classes are configurable.

The code and the comments are in Portuguese.

In Portuguese:

PaginacaoClass é uma classe em PHP para fazer os links de navegação de página no formato "Anterior <primeira> ... <n-3> <n-2> <n-1> N <n+1> <n+2> <n+3> ... <ultima> Próxima".

A classe é totalmente personalizável, permitindo que o programador defina os seguintes parâmetros:

- Link do site;
- Variável GET de definição da página;
- Número de páginas navegáveis laterais a página atual;
- Texto usado para o separador da primeira e últiam páginas dos navegadores de páginas;
- Texto da link "Anterior";
- Texto do link "Próxima";
- Classes HTML dos links, página atual e separadores.

Picture of Fernando Val
  Performance   Level  
Name: Fernando Val <contact>
Classes: 5 packages by
Country: Brazil Brazil
Age: 55
All time rank: 2323158 in Brazil Brazil
Week rank: 411 Up35 in Brazil Brazil Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file exemplo.php Example Script de exemplo
Plain text file PaginacaoClass.php Class Classe

 Version Control Unique User Downloads Download Rankings  
 0%
Total:687
This week:1
All time:4,740
This week:560Up
User Ratings User Comments (1)
 All time
Utility:83%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:55%StarStarStar
Rank:1876
 
Excelente classe
10 years ago (JOao Nivaldo)
70%StarStarStarStar