/** * opening div tag for a form * @return string */ public function layout_form_begin() { if ($this->_layout_begin_template_file) { return EEH_Template::locate_template($this->_layout_begin_template_file, $this->template_args(), TRUE, TRUE); } else { return parent::layout_form_begin(); } }
/** * opening div tag for a form * @return string */ public function layout_form_begin() { if ($this->_layout_begin_template_file) { EE_Registry::instance()->load_helper('Template'); return EEH_Template::locate_template($this->_layout_begin_template_file, $this->template_args(), TRUE, TRUE); } else { return parent::layout_form_begin(); } }