RE: [PEAR] Question about Pager and DB_DataObject
| From: | Jose Manuel Zea | Date: | Fri, 26 May 2006 11:15:22 +0000 |
| Subject: | RE: [PEAR] Question about Pager and DB_DataObject | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-24167@lists.php.net to get a copy of this message | ||
Thank you very much!
That´s what I needed.
-----Mensaje original-----
De: Massimiliano Arione [mailto:garak@studenti.it]
Enviado el: viernes, 26 de mayo de 2006 12:39
Para: Jose Manuel Zea
CC: pear-general@lists.php.net
Asunto: Re: [PEAR] Question about Pager and DB_DataObject
Jose Manuel Zea wrote:
> I started to use Pager with DB_DataObject to paginate get result lists.
The
> problem is that the way I´m doing it is to get all the data and then pass
it
> to the Pager, so if the amount of data is not filtered it could be very
> large if we have a lot of rows. I don´t know if there is a way of joining
> together Pager and DB_DataObject so only receive the data we want to
> visualize but we can get also the links to the other pages.
Of course there's a way.
Look into Pager/examples/Pager_Wrapper.php in your PEAR docs directory
--
Massimiliano Arione
http://garakkio.altervista.org
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.392 / Virus Database: 268.7.0/346 - Release Date: 23/05/2006
______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com