]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/form/Submit.class.php
Refactoring - renamed a few things.
[timetracker.git] / WEB-INF / lib / form / Submit.class.php
index ba3d698c89b341d8e65f5da07dc3df80bf9cf299..c6c917ed0dbaa002e82174f4e65d9f2f2104116f 100644 (file)
@@ -37,15 +37,14 @@ class Submit extends FormElement {
                $this->value = $value;
        }
 
-       function toStringControl()      {
-               if (!$this->isRenderable()) return "";
+       function toStringControl() {
            
            if ($this->id=="") $this->id = $this->name;
            
                $html = "\n\t<input";
                $html .= " type=\"submit\" name=\"$this->name\" id=\"$this->id\"";
                
-               if (!$this->isEnable()) {
+               if (!$this->isEnabled()) {
                        $html .= " disabled=\"true\"";
                }