_getInfo($name, null, $attribs); extract($info); // name, id, value, attribs, options, listsep, disable // is it 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= '>'; } // build the element $xhtml = '_htmlAttribs($attribs) . $endTag; return $xhtml; } }