mName = $name; $this->mValue = $value; } function setMaxSize($value) { $this->mMaxSize = $value; } function getMaxSize() { return $this->mMaxSize; } function toStringControl() { if (!$this->isRenderable()) return ""; if ($this->mId=="") $this->mId = $this->mName; $html = "\n\tmMaxSize."\"/>"; $html .= "\n\tmName\" id=\"$this->mId\""; $html .= " type=\"file\""; $html .= ">"; // only IE /*$html = "mName."\" id=\"".$this->mId."\" style=\"display: none;\">\n"; $html .= "mName."file\">\n"; $html .= "mName.".click();".$this->mName."file.value=".$this->mName.".value;".$this->mName.".disabled=true;\""; $html .= " value=\"".$this->getValue()."\">\n"; $html .= "mMaxSize."\"/>";*/ return $html; } }