Re: 2 step pager
| From: | Lukas Smith | Date: | Fri, 05 May 2006 10:27:42 +0000 |
| Subject: | Re: 2 step pager | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23956@lists.php.net to get a copy of this message | ||
Lorenzo Alberton wrote:
Hi Lukas,perfect! sorry for the noise .. regards, LukasI create my pager instance somewhere in the business logic and pass it over to the template. In the template I want to generate the pager links in the format I want to use there. However in order to do this I need to call _setOptions(). Also I need to pass the pageID to getLinks() otherwise it does not generate the proper URLs.without looking at your specific problem, I shall point you to the latest Pager release: http://pear.php.net/package/Pager/download/ From the changelog: - changed _setOptions() [private] to setOptions() [public] - added build() to refresh the links and the paged data after a new call to setOptions() I think that's what you're probably looking after... If not, please describe your issue with some more details.