Re: paging large amounts of data
| From: | Justin Patrin | Date: | Tue, 23 Aug 2005 22:22:50 +0000 |
| Subject: | Re: paging large amounts of data | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-20566@lists.php.net to get a copy of this message | ||
On 8/23/05, Lukas Smith <lsmith@php.net> wrote:
>
> > AFAIK, at least as SDG does it, there is no offset that pager
> > provides. It may provide one but SDG doesn't use it. SDG just uses the
> > current page and per-page count to get the offset.
>
> does this work with both jumping and sliding? it seems to be that the
> offset would be different depending on which type you use.
>
Nope. Jumping and Sliding refer (AFAIK) to the style of the links, not
the contents of the pages. With jumping you get pages 1-x and when you
click next (or maybe x as well) you get 6-10. With sliding the
currently selected page stays in the middle if it can.
--
Justin Patrin