Re: Question about Pager and DB_DataObject
| From: | Justin Patrin | Date: | Fri, 26 May 2006 20:53:07 +0000 |
| Subject: | Re: Question about Pager and DB_DataObject | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-24170@lists.php.net to get a copy of this message | ||
On 5/26/06, Jose Manuel Zea <jmzeag@yahoo.es> wrote:
Thank you very much! That´s what I needed.You may also want to look into Structures_DataGrid which will print out your data in a grid format. It has intelligent support for DB_DO so it will only pull the relevant data.
-----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 -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php-- Justin Patrin