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; }
function getDataKeys() { return $this->mDataKeys; }
- function toStringControl() {
+ function getHtml() {
if ($this->id=="") $this->id = $this->name;
return $html;
}
}
-?>
\ No newline at end of file