class = 'UploadFile'; $this->name = $name; } // TODO: refactoring ongoing down from here. function setMaxSize($value) { $this->mMaxSize = $value; } function getMaxSize() { return $this->mMaxSize; } function getHtml() { if ($this->id=="") $this->id = $this->name; $html = "\n\tmMaxSize."\"/>"; $html .= "\n\tname\" id=\"$this->id\""; $html .= " type=\"file\""; $html .= ">"; return $html; } }