2 step pager
| From: | Lukas Smith | Date: | Fri, 05 May 2006 10:15:41 +0000 |
| Subject: | 2 step pager | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-23954@lists.php.net to get a copy of this message | ||
Hi,
I 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.
Here is the template:
http://svn.oss.backendmedia.com/templates/default/community/thread_list.tpls
regards,
Lukas