]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/form/TextField.class.php
Added missing declarations for better JavaScript.
[timetracker.git] / WEB-INF / lib / form / TextField.class.php
index 3d5ce7af79455c343c2f5bf54e1d1b15c032d55d..a409410fb3f4c05909b674fbf2d04df8b3245ee1 100644 (file)
@@ -33,7 +33,7 @@ class TextField extends FormElement {
     var $mPassword     = false;
     var $cClassName            = "TextField";
 
-       function TextField($name,$value="")
+       function __construct($name,$value="")
        {
                $this->mName                    = $name;
                $this->mValue                   = $value;
@@ -74,4 +74,3 @@ class TextField extends FormElement {
                return $html;
        }
 }
-?>
\ No newline at end of file