RE: [PEAR] Pager - some wishes ...

From: Date: Fri, 05 Mar 2004 16:05:18 +0000
Subject: RE: [PEAR] Pager - some wishes ...
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11114@lists.php.net to get a copy of this message
Hi! Thanks for your answer! > > If it would be possible to tell the pager how many recordsets there > > are and which page I am going to show I could use LIMIT and > just get > > the required data. In this context I do not get what this > line in the > > docu means: "totalItems [integer] Number of items to page > (used only > > if itemData is not provided)." How can I page if there is no data? > > if you don't want to page your data (i.e. when > you do it yourself, via LIMIT queries and such) > but you want delegate to Pager the burden > of creating the links for you, then Pager > offers you that facility. Just pass the number > of total items, and Pager will build the links. I think this is the better solution ... At least for me - because I am using Pager a lot already. DB_Pager not at all and somehow it also seems that DB_Pager will not be developed any more ... Daniel

« previous php.pear.general (#11114) next »