public function handleForm(ZFDoctrine_Form_Model $form, $action, $controller = null, $module = null, array $params = array())
/*
should use urlOptions as in Zend_View_Helper_url or
$this->_helper->redirector->gotoRoute($urlOptions,$name,$reset,$encode);
However I belive that create a new method to manipulate routes will be a best choice:
handleForm(ZFDoctrine_Form_Model $form, $action, $controller = null, $module = null, array $params = array()){
$this->handleFormWithRoute($form,array(
'controller' => $controller,
'action' => $action,
'module' => $module,
'params' =>$params
),
'default',
true
}
public function handleForm(ZFDoctrine_Form_Model $form, $action, $controller = null, $module = null, array $params = array()) /* should use urlOptions as in Zend_View_Helper_url or $this->_helper->redirector->gotoRoute($urlOptions,$name,$reset,$encode);
calling method handleForm by: $this->_helper->modelForm->handleForm($model,array(),'banners_list',true)
However I belive that create a new method to manipulate routes will be a best choice: handleForm(ZFDoctrine_Form_Model $form, $action, $controller = null, $module = null, array $params = array()){ $this->handleFormWithRoute($form,array( 'controller' => $controller, 'action' => $action, 'module' => $module, 'params' =>$params ), 'default', true }
*/