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