]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/form/Hidden.class.php
Finished refactoring of the FormElement class.
[timetracker.git] / WEB-INF / lib / form / Hidden.class.php
index cddb223a0c1dfc1551074f46d6ae83a051b80e9f..e06466e1f1700f0219fb44c597142582b303a3dc 100644 (file)
@@ -29,7 +29,7 @@
 import('form.FormElement');
        
 class Hidden extends FormElement {
-    var $cClassName    = "Hidden";
+    var $class = 'Hidden';
 
        function __construct($name,$value="")
        {
@@ -37,7 +37,7 @@ class Hidden extends FormElement {
                $this->value = $value;
        }
 
-       function toStringControl()      {
+       function getHtml()      {
            
            if ($this->id=="") $this->id = $this->name;