PHP Classes

Paginacao Class: Paginate listings of data retrieved with ADODB

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 431 All time: 6,262 This week: 540Up
Version License PHP version Categories
paginacao_for_adodb 1.0Freeware4.0HTML, Databases
Description Author

This class can be used to split in multiple pages listings of data retrieved from a database using ADODB.

It takes a result set object of an already executed query with ADODB PageExecute function.

The class retrieves the total number of pages and total number of rows from the result set object.

It generates a list of links to the first page, last page and any intermediate pages of the list of query results.

The base URL of the links and the link colors are configurable parameters.

The code and comments are in Portuguese. In Portuguese:

Esta classe gera os links de paginação com apenas uma conexão à base de dados.

Para que a classe funcione é obrigatório o uso do pacote ADODB, pois é utilizado o método PageExecute desse pacote.

Picture of Otavio Theiss
Name: Otavio Theiss <contact>
Classes: 4 packages by
Country: Brazil Brazil
Age: 39
All time rank: 121579 in Brazil Brazil
Week rank: 523 Up36 in Brazil Brazil Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file conexao.php Conf. Arquivo de conexao a base de dados
Accessible without login Plain text file exemplo.php Example Exemplo de utilização da classe
Plain text file paginacao.class.php Class Classe de paginação para ADODB
Accessible without login Plain text file paginacao_database.sql Data Script SQL para criação do banco de dados

 Version Control Unique User Downloads Download Rankings  
 0%
Total:431
This week:0
All time:6,262
This week:540Up
For more information send a message to info at phpclasses dot org.