Login   Register  
PHP Classes
elePHPant
Icontem

Paginacao Class

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Otavio Theiss  >  Paginacao Class  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Paginacao Class
Base name: paginacao_for_adodb
Description: Paginate listings of data retrieved with ADODB
Related classes: , , , , ,
Version: 1.0
PHP version: 4.0
License: Freeware
All time users: 386 users
All time rank: 5184
Week users: 0 users
Week rank: 2402
 

  Author  
Picture of Otavio Theiss
Name: Otavio Theiss <e-mail contact>
Packages: 4 Browse all classes by Otavio Theiss Browse all classes by
Country: Brazil Brazil - PHP jobs in Brazil
Age: 30
All time rank: 108071 in Brazil Brazil
Week rank: 982 Up62 in Brazil Brazil Up


  Detailed description  
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.

  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image Databases Database management, accessing and searching View top rated classes


  User ratings  
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file conexao.php Conf. Arquivo de conexao a base de dados
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
Plain text file paginacao_database.sql Data Script SQL para criação do banco de dados

Download all files: paginacao_for_adodb.tar.gz paginacao_for_adodb.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.