Re: Pager : force to display one page ID
| From: | Justin Patrin | Date: | Tue, 21 Dec 2004 18:57:24 +0000 |
| Subject: | Re: Pager : force to display one page ID | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-16377@lists.php.net to get a copy of this message | ||
On Tue, 21 Dec 2004 17:20:40 +0100, Vincent DUPONT
<Vincent.dupont@ausy.be> wrote:
> Hello,
>
> I would like to force Pager to display a particular page from PHP. By default, the first page
> is displayed.
>
> In the Pager Options, I found nothing like this.
>
> Actually, I need to be able to open the page that includes one specific record in the list. But
> this record may be on any page in the range.
> With getPageIdByOffset I can have the page ID where my record will be displayed. So I just need
> to be able to force Pager to open on that page, not on the first one.
>
Perhaps you could set $_REQUEST['pageID']?
--
Justin Patrin