public function ajaxableForm($name, $action, $method, array $attribs = array()) { parent::form($name, $action, $method, $attribs); $this->html .= "\n" . $this->startAjax(); $script = <<<END <script> AjaxForm.convert(\$('{$name}')); </script> END; $this->html .= "\n" . $script; return $this; }
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()); }