X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/8c194ac6af2accb4f45e35e93629037a0983cc3f..2df0ec3f98d0fa23102dc8362c4272ddebecf157:/WEB-INF/lib/form/Form.class.php diff --git a/WEB-INF/lib/form/Form.class.php b/WEB-INF/lib/form/Form.class.php index 4d6987f6..0fcbd620 100644 --- a/WEB-INF/lib/form/Form.class.php +++ b/WEB-INF/lib/form/Form.class.php @@ -38,15 +38,13 @@ class Form { var $name = ''; // TODO: refactoring ongoing down from here. - var $mEnctype = ""; - var $mId = ""; var $error; var $debugFunction; var $mElements = array(); var $mRequest; - function __construct($formid) { - $this->name = $formid; + function __construct($formName) { + $this->name = $formName; } function setRequest(&$request) { @@ -68,12 +66,8 @@ class Form { // name // onsubmit // onreset - function setName($value) { $this->name = $value; } function getName() { return $this->name; } - function setId($value) { $this->mId = $value; } - function getId() { return $this->mId; } - function isSubmit() { if (!isset($this->mRequest)) return false; $result = false; @@ -247,21 +241,16 @@ class Form { function toStringOpenTag() { $html = "