]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/form/Submit.class.php
Finished refactoring of the FormElement class.
[timetracker.git] / WEB-INF / lib / form / Submit.class.php
index c6c917ed0dbaa002e82174f4e65d9f2f2104116f..905b26950e2ebaffeeb2cef141d9420295394a2c 100644 (file)
@@ -29,7 +29,7 @@
 import('form.FormElement');
        
 class Submit extends FormElement {
-       var $cClassName = "Submit";
+       var $class = 'Submit';
 
        function __construct($name,$value="")
        {
@@ -37,7 +37,7 @@ class Submit extends FormElement {
                $this->value = $value;
        }
 
-       function toStringControl() {
+       function getHtml() {
            
            if ($this->id=="") $this->id = $this->name;