]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/form/UploadFile.class.php
Finished refactoring of the FormElement class.
[timetracker.git] / WEB-INF / lib / form / UploadFile.class.php
index c3a32763a623d16687a5cfb82a3810c80240319f..eb24259e97ed4e4f5ce2ee204f1fa190a7108db0 100644 (file)
@@ -29,7 +29,7 @@
 import('form.FormElement');
        
 class UploadFile extends FormElement {
-    var $cClassName            = "UploadFile";
+    var $class = 'UploadFile';
     var $mMaxSize              = 100000;       // 100kb
 
        function __construct($name,$value="")
@@ -41,7 +41,7 @@ class UploadFile extends FormElement {
        function setMaxSize($value)     { $this->mMaxSize = $value;     }
        function getMaxSize()   { return $this->mMaxSize; }
        
-       function toStringControl() {
+       function getHtml() {
 
             if ($this->id=="") $this->id = $this->name;