X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/6e59f47d1baf9e3d420b4a368dcc005d54b6e599..cb8e3de960b758147b34d8323054e7de70548619:/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 f46e3bf2..209578dc 100644 --- a/WEB-INF/lib/form/FormElement.class.php +++ b/WEB-INF/lib/form/FormElement.class.php @@ -28,10 +28,11 @@ // FromElement is the base class for controls on forms. class FormElement { - var $id = ""; + var $id = ''; var $name; - var $form_name = ""; - var $mValue = ""; + var $form_name = ''; + var $value = ''; + // TODO: refactoring ongoing down from here. var $mSize = ""; var $mMaxLength = ""; var $mTabindex = ""; @@ -53,17 +54,17 @@ class FormElement { function getClass() { return $this->cClassName; } - function setName($name) { $this->name = $name; } + function setName($name) { $this->name = $name; } function getName() { return $this->name; } function setFormName($name) { $this->form_name = $name; } function getFormName() { return $this->form_name; } - function setValue($value) { $this->mValue = $value;} - function getValue() { return $this->mValue; } + function setValue($value) { $this->value = $value;} + function getValue() { return $this->value; } - function setValueSafe($value) { $this->mValue = $value;} - function getValueSafe() { return $this->mValue; } + function setValueSafe($value) { $this->value = $value;} + function getValueSafe() { return $this->value; } function setId($id) { $this->id = $id; } function getId() { return $this->id; }