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