Some further refactoring in form classes.
[timetracker.git] / WEB-INF / lib / form / Combobox.class.php
index 0a8bf89..ce66739 100644 (file)
@@ -44,7 +44,7 @@ class Combobox extends FormElement {
     var $mCompareOn = "key"; // or "value"
     var $mDataDeep = 1;
     var $mDataKeys = array();
-    var $cClassName    = "Combobox";
+    var $class = 'Combobox';
 
        function __construct($name,$value="")
        {
@@ -65,7 +65,7 @@ class Combobox extends FormElement {
        function getDataKeys() { return $this->mDataKeys; }
        
        
-       function toStringControl() {
+       function getHtml() {
 
            if ($this->id=="") $this->id = $this->name;