Re: DB Pager maxpages algorithm and lastpagefrom variable

From: Date: Wed, 24 Jul 2002 12:24:25 +0000
Subject: Re: DB Pager maxpages algorithm and lastpagefrom variable
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-7933@lists.php.net to get a copy of this message
Richard Wall wrote: > > Hello, > > I've extended the DB Pager getData() method so that the pages array stays a > constant length and have added a lastpagefrom value to allow for a link to > the last page in the result set. > What do DB_Pager users think on using that way instead of the Google way? Google is a little bit strange because the first time you get half the amount of pages and can confuse a little developers who wants a constant number. I myself preffer to set 10 pages and get 10 pages instead of 5 the first time :-) Tomas V.V.Cox

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