Login   Register  
PHP Classes
elePHPant
Icontem

Ok, thats a goog class !! But, why do you not try to use DB p...

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Good Pagination  >  All threads  >  Ok, thats a goog class !! But, why do you not try to use DB p...  >  (Un) Subscribe thread alerts  
Subject:Ok, thats a goog class !! But, why do you not try to use DB p...
Summary:Package rating comment
Messages:2
Author:José Filipe Lopes Santos
Date:2008-10-20 15:37:35
Update:2008-10-20 16:05:44
 

José Filipe Lopes Santos rated this package as follows:

Utility: Good
Consistency: Good
Examples: Good

  1. Ok, thats a goog class !! But, why do you not try to use DB p...   Reply  
Picture of José Filipe Lopes Santos
José Filipe Lopes Santos
2008-10-20 15:37:35
Ok, thats a goog class !!
But, why do you not try to use DB package of the pear ?? It offers compatibility with all databases (Oracle, Mysql, PostgreSql, ...), and it has an method to limit results ... !!

  2. Re: Ok, thats a goog class !! But, why do you not try to use DB   Reply  
Picture of Mario cesar chapela barboza
Mario cesar chapela barboza
2008-10-20 16:05:44 - In reply to message 1 from José Filipe Lopes Santos

in fact this class is not used to get information from the DB but to create links on the pages, but if you want is very simple to create and implement a extends the "generate" and it pulls you and the bank already uses the paging .

This was my first contribution and wanted to put something simple.

Sincerely Mario Cesar.

Em Português.
Na verdade essa classe não é usada para pegar as informações do DB mas sim para gerar os links das paginas, mas se você quiser é muito simples criar uma EXTENDS e implementar a função "gerar" e nela você pega do banco e ja usa a paginação.

essa foi minha primeira contribuição e quis colocar algo simples.

Atenciosamente Mario Cesar.