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
Post a Comment