]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/form/TextField.class.php
Finished refactoring of the FormElement class.
[timetracker.git] / WEB-INF / lib / form / TextField.class.php
index d7e38aeff4db6193f2cd94658fb260dd10dfa713..c9ffaaedfb2974b720b731ac7033d1e614c9be3f 100644 (file)
@@ -41,7 +41,7 @@ class TextField extends FormElement {
        function setAsPassword($name)   { $this->mPassword = $name;     }
        function getAsPassword()        { return $this->mPassword; }
 
-       function toStringControl() {
+       function getHtml() {
                if (!$this->isEnabled()) {
                        $html = "<input name=\"$this->name\" value=\"".htmlspecialchars($this->getValue())."\" readonly>\n";
                } else {