If I do this
public function indexAction()
{
$view = new Zend_View();
$registrationForm = new Form_NewAwatag();
$view->assign((array) $registrationForm);
echo $view->render("index.phtml");
}
it will create a new Zend_View object. How can I use the default Zend_View object?
Is it correct how I pass object to the view script?
You can get the view by using $this->view;
Assign values with $this->view->variable = $value