Re: DB_result::getPagerData()

From: Date: Tue, 03 Apr 2001 15:25:44 +0000
Subject: Re: DB_result::getPagerData()
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-156@lists.php.net to get a copy of this message
On Mon, Apr 02, 2001 at 02:31:55AM +0200, Tomas V.V.Cox wrote: > I've coded a new feature for DB.php, this is the ability to calculate > all the data needed to represent paginated lists from a query result > set. This is very usefull and needed in web programing for building the > tipical Next/Prev buttons (of course this can do more than this, see > inline doc). I can see this functionality being very useful. > Before comit the patch I need from you to approve this. It can be easily > transform in a separate class if you don't think that this should go in > the core of DB. I'm of the opinion that this should be included as a separate class. It sort of falls outside the realm of the "database abstraction" interface. -- Jon Parise (jon@csh.rit.edu) . Rochester Inst. of Technology http://www.csh.rit.edu/~jon/ : Computer Science House Member

« previous php.pear.dev (#156) next »