X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/2d0b41f7a9a2064b7a41209ec85fa3779b1f8a29..5532fe6cfc2125063ff8040cfa80e20089ac64b0:/WEB-INF/lib/form/FormElement.class.php diff --git a/WEB-INF/lib/form/FormElement.class.php b/WEB-INF/lib/form/FormElement.class.php index 7e20739c..fde8b400 100644 --- a/WEB-INF/lib/form/FormElement.class.php +++ b/WEB-INF/lib/form/FormElement.class.php @@ -37,10 +37,9 @@ class FormElement { var $on_change = ''; // What happens when value of control changes. var $on_click = ''; // What happens when the control is clicked. var $label = ''; // Optional label for control. + var $style = ''; // Control style. // TODO: refactoring ongoing down from here. - var $mStyle = ""; - var $mRenderable = true; var $mEnabled = true; var $cClassName = "FormElement"; var $mI18n = null; @@ -74,12 +73,9 @@ class FormElement { function setMaxLength($value) { $this->max_length = $value; } function getMaxLength() { return $this->max_length; } - function setStyle($value) { $this->mStyle = $value; } - function getStyle() { return $this->mStyle; } - - function setRenderable($flag) { $this->mRenderable = $flag; } - function isRenderable() { return $this->mRenderable; } - + function setStyle($value) { $this->style = $value; } + function getStyle() { return $this->style; } + function setEnable($flag) { $this->mEnabled = $flag; } function isEnable() { return $this->mEnabled; }