getView(); $viewRenderer = new Zend_Controller_Action_Helper_ViewRenderer(); $viewRenderer->setView($view); Zend_Controller_Action_HelperBroker::addHelper($viewRenderer); return $view; } /** * Retrieve view object * * @return Zend_View */ public function getView() { if (null === $this->_view) { $options = $this->getOptions(); $this->_view = new Zend_View($options); if(isset($options['doctype'])) { $this->_view->doctype()->setDoctype(strtoupper($options['doctype'])); } } return $this->_view; } }