Finished refactoring of the FormElement class.
[timetracker.git] / WEB-INF / lib / form / DateField.class.php
index 320d524..3906db6 100644 (file)
@@ -80,7 +80,7 @@ class DateField extends TextField {
     }
   }
 
-  function toStringControl() {
+  function getHtml() {
 
     if (!$this->isEnabled()) {
       $html = htmlspecialchars($this->getValue()).