/** * Get standard form helper * * @return Zend_View_Helper_Form */ public function getFormHelper() { if (null === $this->_helper) { $this->_helper = new Zend_View_Helper_Form(); $this->_helper->setView($this->view); } return $this->_helper; }
/** * Get standard form helper * * @return Zend_View_Helper_Form */ public function getFormHelper() { if (null === $this->_helper) { require_once 'Zend/View/Helper/Form.php'; $this->_helper = new Zend_View_Helper_Form(); $this->_helper->setView($this->view); } return $this->_helper; }
public function renderOpen(Zend_View_Interface $view = null) { $zvhf = new Zend_View_Helper_Form(); $zvhf->setView($this->getView()); return $zvhf->form($this->getName(), $this->getAttribs()); }