- function setChecked($value) { $this->mChecked = $value; }
- function isChecked() { return $this->mChecked; }
-
- function setData($value) { $this->mOptions = $value; }
- function getData() { return $this->mOptions; }
-
- function toStringControl() {
- if (!$this->isRenderable()) return "";
-
- if ($this->id=="") $this->id = $this->name;
-
- $html = "\n\t<input type=\"checkbox\"";
- $html .= " name=\"$this->name\" id=\"$this->id\"";