Pager : force to display one page ID
| From: | Vincent DUPONT | Date: | Tue, 21 Dec 2004 16:20:40 +0000 |
| Subject: | Pager : force to display one page ID | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-16367@lists.php.net to get a copy of this message | ||
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.
Thank you
Vincent