Zend framework routing params -


i have several routes defined in application. when route matched , assemble url using route b without resetting, not include current request parameters.

is there easy way include request parameters when assembling url via different route current route? did have @ zend_controller_router_rewrite->userequestparametersasglobal, (obviously) include request parameters when reset = true

you try following.

$oldparams = $this->_getallparamas(); unset($oldparams['module']); unset($oldparams['controller']); unset($oldparams['action']); 

pass

array_merge(array('new'=>'param'),$oldparams) 

to url view helper.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -