_getInfo($name, $value, $attribs); extract($info); // name, value, attribs, options, listsep, disable // check if disabled $disabled = ''; if ($disable) { $disabled = ' disabled="disabled"'; } // XHTML or HTML end tag? $endTag = ' />'; if (($this->view instanceof Zend_View_Abstract) && !$this->view->doctype()->isXhtml()) { $endTag= '>'; } // Render the button. $xhtml = '_htmlAttribs($attribs) . $endTag; return $xhtml; } }