X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/04bc6bdd39d67bcf9f63d8af4b067f1fafc06f8a..6e2b1ec1880cebedef5a1ca380820ad0d40d06a2:/WEB-INF/lib/form/Combobox.class.php diff --git a/WEB-INF/lib/form/Combobox.class.php b/WEB-INF/lib/form/Combobox.class.php index 0a8bf89c..88f0b50a 100644 --- a/WEB-INF/lib/form/Combobox.class.php +++ b/WEB-INF/lib/form/Combobox.class.php @@ -44,13 +44,11 @@ class Combobox extends FormElement { var $mCompareOn = "key"; // or "value" var $mDataDeep = 1; var $mDataKeys = array(); - var $cClassName = "Combobox"; - function __construct($name,$value="") - { - $this->name = $name; - $this->value = $value; - } + function __construct($name) { + $this->class = 'Combobox'; + $this->name = $name; + } function setMultiple($value) { $this->mMultiple = $value; } function isMultiple() { return $this->mMultiple; } @@ -65,7 +63,7 @@ class Combobox extends FormElement { function getDataKeys() { return $this->mDataKeys; } - function toStringControl() { + function getHtml() { if ($this->id=="") $this->id = $this->name; @@ -111,4 +109,3 @@ class Combobox extends FormElement { return $html; } } -?> \ No newline at end of file