X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/06ec4ba10585fef2bc42a70a099e6c619ae41f87..6e59f47d1baf9e3d420b4a368dcc005d54b6e599:/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 e7ea9ccb..f46e3bf2 100644
--- a/WEB-INF/lib/form/FormElement.class.php
+++ b/WEB-INF/lib/form/FormElement.class.php
@@ -26,10 +26,11 @@
// | https://www.anuko.com/time_tracker/credits.htm
// +----------------------------------------------------------------------+
+// FromElement is the base class for controls on forms.
class FormElement {
- var $mId = "";
- var $mName;
- var $mFormName = "";
+ var $id = "";
+ var $name;
+ var $form_name = "";
var $mValue = "";
var $mSize = "";
var $mMaxLength = "";
@@ -52,11 +53,11 @@ class FormElement {
function getClass() { return $this->cClassName; }
- function setName($name) { $this->mName = $name; }
- function getName() { return $this->mName; }
+ function setName($name) { $this->name = $name; }
+ function getName() { return $this->name; }
- function setFormName($name) { $this->mFormName = $name; }
- function getFormName() { return $this->mFormName; }
+ function setFormName($name) { $this->form_name = $name; }
+ function getFormName() { return $this->form_name; }
function setValue($value) { $this->mValue = $value;}
function getValue() { return $this->mValue; }
@@ -64,8 +65,8 @@ class FormElement {
function setValueSafe($value) { $this->mValue = $value;}
function getValueSafe() { return $this->mValue; }
- function setId($id) { $this->mId = $id; }
- function getId() { return $this->mId; }
+ function setId($id) { $this->id = $id; }
+ function getId() { return $this->id; }
function setSize($value) { $this->mSize = $value; }
function getSize() { return $this->mSize; }
@@ -104,7 +105,7 @@ class FormElement {
}
function toStringLabel() {
- return "";
+ return "";
}
function toArray() {