_getInfo($name, $value, $attribs); extract($info); // name, value, attribs, options, listsep, disable // is it disabled? $disabled = ''; if ($disable) { // disabled $disabled = ' disabled="disabled"'; } // determine the XHTML value $valueString = ' value=""'; if (array_key_exists('renderPassword', $attribs)) { if ($attribs['renderPassword']) { $valueString = ' value="' . $this->view->escape($value) . '"'; } unset($attribs['renderPassword']); } // XHTML or HTML end tag? $endTag = ' />'; if (($this->view instanceof Zend_View_Abstract) && !$this->view->doctype()->isXhtml()) { $endTag= '>'; } // render the element $xhtml = '_htmlAttribs($attribs) . $endTag; return $xhtml; } }