00001 <?PHP 00017 include_once("InputElement.php"); 00018 00027 class File 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=\"file\" name='$this->m_Name' id=\"" . $this->m_Name ."\" value='$this->m_Value' $disabledStr $this->m_HTMLAttr $style $func />"; 00041 return $sHTML; 00042 } 00043 00044 } 00045 00046 ?>