X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2Fform%2FHidden.class.php;h=e06466e1f1700f0219fb44c597142582b303a3dc;hb=e1703495130c8ed88fe210f50a2a6b453b3c566b;hp=0105de15b5df1366e57cd118adb5b797dbc48a7c;hpb=6e59f47d1baf9e3d420b4a368dcc005d54b6e599;p=timetracker.git diff --git a/WEB-INF/lib/form/Hidden.class.php b/WEB-INF/lib/form/Hidden.class.php index 0105de15..e06466e1 100644 --- a/WEB-INF/lib/form/Hidden.class.php +++ b/WEB-INF/lib/form/Hidden.class.php @@ -29,16 +29,15 @@ import('form.FormElement'); class Hidden extends FormElement { - var $mValue; - var $cClassName = "Hidden"; + var $class = 'Hidden'; function __construct($name,$value="") { - $this->name = $name; - $this->mValue = $value; + $this->name = $name; + $this->value = $value; } - function toStringControl() { + function getHtml() { if ($this->id=="") $this->id = $this->name;