Re: paging large amounts of data
| From: | Lukas Smith | Date: | Tue, 23 Aug 2005 21:47:25 +0000 |
| Subject: | Re: paging large amounts of data | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-20560@lists.php.net to get a copy of this message | ||
Justin Patrin wrote:
On 8/23/05, Lukas Smith <lsmith@php.net> wrote:i was going by memory .. confused memory it seems .. so i guess its always a fixed sequence of pages and depending on the mode you will have to choose the offset accordingly .. it seems that this offset should be available as a get method in pager? regards, LukasUmmm...could you give an example?Hmmm...well, actually this info isn't pulled from the pager at all. The currentPage and perPage are member vars of the DG. Pager is used only for the links. The actual offset calculation is done in Renderer.php fetchDataSource(). ($page*$this->rowLimit)ok i saw that .. but isnt the pagenation also possible to show something like first : some number : page : some other number : last depending on the config ..