- function __construct($name,$value="")
- {
- $this->name = $name;
- $this->value = $value;
- }
-
- function setMaxSize($value) { $this->mMaxSize = $value; }
- function getMaxSize() { return $this->mMaxSize; }
-
- function toStringControl() {
+ var $maxSize = 8388608; // 8MB default max size.
+
+ function __construct($name)
+ {
+ $this->class = 'UploadFile';
+ $this->name = $name;
+ }
+
+ function setMaxSize($value) { $this->maxSize = $value; }
+
+ function getHtml() {