Redirector URL-. _redirect() , sitewide gotoSimple ($ action, $controller, $module, $params) , Zend_Controller_Action:: _ ().
setController() setAction() , URL- ( 302), . , , _redirect() redirecotor, , . : http://framework.zend.com/manual/en/zend.controller.actionhelpers.html#Redirector
$this → _ forward() , setController() setAction(), Zend_Controller_Action:
final protected function _forward($action, $controller = null, $module = null, array $params = null)
{
$request = $this->getRequest();
if (null !== $params) {
$request->setParams($params);
}
if (null !== $controller) {
$request->setControllerName($controller);
if (null !== $module) {
$request->setModuleName($module);
}
}
$request->setActionName($action)
->setDispatched(false);
}
Zend_Controller_Action, , Zend_Controller_Plugin, , .
, , pratice , , .
:
http://framework.zend.com/manual/en/zend.controller.dispatcher.html
http://devzone.zend.com/article/11978