Questions on Pager
| From: | Bertrand Mansion | Date: | Thu, 06 Nov 2003 16:28:26 +0000 |
| Subject: | Questions on Pager | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-8815@lists.php.net to get a copy of this message | ||
Hi,
Is it possible to have Pager return the number of the first item being
displayed in place of the page number ? The way it was with DB_Pager.
Is it possible to forge the url with custom keys and values ?
Example : url.php?pageID=2&sort=asc
If not, what is the prefered way to add vars to the url.
All in all, I think it's a pity that the pager only returns forged urls
instead of raw data. That's against MVC pattern and doesn't allow
customization. The class should be able to return an array like DB_Pager
does, it seems much more useful. Unless I missed something...
Thanks,
Bertrand Mansion
Mamasam