00001 <?PHP 00017 include_once("InputElement.php"); 00018 00027 class ResetButton extends InputElement 00028 { 00029 00035 public function render() 00036 { 00037 $disabledStr = ($this->getEnabled() == "N") ? "DISABLED=\"true\"" : ""; 00038 $style = $this->getStyle(); 00039 $func = $this->getFunction(); 00040 $sHTML .= "<INPUT TYPE=RESET NAME='$this->m_Name' ID=\"" . $this->m_Name ."\" VALUE='$this->m_Text' $disabledStr $this->m_HTMLAttr $style $func />"; 00041 return $sHTML; 00042 } 00043 } 00044 00045 ?>