]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/form/FormElement.class.php
Further refactoring of the FormElement class to simplify things.
[timetracker.git] / WEB-INF / lib / form / FormElement.class.php
index 260fbefd7c0d072086bcd5c4db64d8ce049fa7f4..c6182d3ac9b5a06e7be41ef4de5708e7bb715fc7 100644 (file)
@@ -44,12 +44,10 @@ class FormElement {
   function __construct() {
   }
 
+  function getName() { return $this->name; }
   function getClass() { return $this->class; }
-
+  
   // TODO: refactoring ongoing down from here.
-       function setName($name) { $this->name = $name; }
-       function getName()      { return $this->name; }
-       
        function setFormName($name) { $this->form_name = $name; }
        function getFormName()  { return $this->form_name; }