ZF-10747: Trying to pass extra parameters to Pagination Link.
Description
I am trying to send extra parameter to links of paging. I am using Zend Paginator. currently link is
/user/list/page/2
I want to send additional parameters as well
/user/list/address/a/page/2
Here is the detail of my code:
//In Controller: $page=$this->_getParam('page',1); $paginator = Zend_Paginator::factory($rowSet); $paginator->setItemCountPerPage(50); $paginator->setCurrentPageNumber($page);
$this->view->clientList = $paginator; $this->view->paginator=$paginator; //In View: <?php echo $this->paginationControl($this->paginator, 'Sliding', 'pagination_control.phtml'); ?>
I want to pass the parameters from text field of search as extra parameters to my link.
Please help me on this problem. Thanks.
Comments
Posted by Ryan Mauger (bittarman) on 2010-11-26T03:15:30.000+0000
Closing as this is a support request and not an issue.
Please direct support requests to the fw-general mailing list, or #zftalk on freenode IRC.