PHP Classes

Paginacao Class: Paginate listings of data retrieved with ADODB

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-11-02 (7 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 428 All time: 5,878 This week: 1,079Up
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: 33
All time rank: 115580 in Brazil Brazil
Week rank: 640 Up51 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:428All time:5,878
 This week:0This week:1,079Up