/** * Set view * * Set view and enable dojo * * @param Zend_View_Interface $view * @return Zend_Dojo_View_Helper_Dijit */ public function setView(Zend_View_Interface $view) { parent::setView($view); $this->dojo = $this->view->dojo(); $this->dojo->enable(); return $this; }
/** * Set view and enable jQuery Core and UI libraries * * @param Zend_View_Interface $view * @return ZendX_JQuery_View_Helper_Widget */ public function setView(Zend_View_Interface $view) { parent::setView($view); $this->jquery = $this->view->jQuery(); $this->jquery->enable()->uiEnable(); return $this; }