]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/form/TextField.class.php
Refactoring - renamed a few things.
[timetracker.git] / WEB-INF / lib / form / TextField.class.php
index e4d58659c89420bb9b5c9408c6ee921e9fec31e6..20b7fc6eb9dbcfa39b82001f8e8f77f75c490629 100644 (file)
@@ -41,10 +41,8 @@ class TextField extends FormElement {
        function setAsPassword($name)   { $this->mPassword = $name;     }
        function getAsPassword()        { return $this->mPassword; }
 
-       function toStringControl()      {
-               if (!$this->isRenderable()) return "";
-           
-               if (!$this->isEnable()) {
+       function toStringControl() {
+               if (!$this->isEnabled()) {
                        $html = "<input name=\"$this->name\" value=\"".htmlspecialchars($this->getValue())."\" readonly>\n";
                } else {