Hi Justin
Thanks for your wonderful effort

I just tried to solve by using Registry

i set an array of the extra elements in my controller

from my pagination.html file i added the extra element into the array and
using 'url()' function i generated the whole link

In Controller
$this->registry->set('url_array', array('extra_var1' =>
$this->view->id,'extra_var2' => $this->view->name));

in pagination.phtml

$registry       = Zend_Registry::getInstance();
        if ($registry->isRegistered('url_array')) 
                $this->url_array        = $registry->get('url_array');
        else
                $this->url_array        = array();

.
.
.
$this->url_array['page'] = $this->previous;
.
.
"<?= $this- url($this->url_array); ?>">Previous 


Thanks
Anees


-- 
View this message in context: 
http://www.nabble.com/How-can-i-pass-a-variable-using-zend_paginator-tp22716996p22736117.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to