Hi,

I am using zend_paginator class to generate the Paging script
And it is working well.

But i need to pass a variable other than 'page' as GET 
how could i do this?

My current script is

$paginator = Zend_Paginator::factory($result);
$paginator->setView($this->view);
$paginator->setItemCountPerPage($site_rec_per_page);
$paginator->setCurrentPageNumber($this->view->page);
$this->view->paginator = $paginator;

[here $result = recordset]

at present when i click on page 2 it comes in URL as
mysite.com/ads/page/2

but i want to pass a location id to the next page
so the URL will be something like
mysite.com/ads/page/2/location_id/345

Please Help 

Regards
Anees


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

Reply via email to