예제 #1
0
파일: Form.php 프로젝트: alab1001101/zf2
 /**
  * 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;
 }
예제 #2
0
파일: Form.php 프로젝트: ramonornela/Zebra
 /**
  * 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;
 }
예제 #3
0
 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());
 }