X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2Fform%2FCheckboxGroup.class.php;h=f6722704bfacfb36b165dc466b3c13e8db6ce48e;hb=cd5e077ecb497431decde4835138b877d63b261c;hp=136cc069d7fa844b41ab61b2b1c94c22442ab799;hpb=a4d1c5627c3958245ea7e2e573267e34f5872471;p=timetracker.git diff --git a/WEB-INF/lib/form/CheckboxGroup.class.php b/WEB-INF/lib/form/CheckboxGroup.class.php index 136cc069..f6722704 100644 --- a/WEB-INF/lib/form/CheckboxGroup.class.php +++ b/WEB-INF/lib/form/CheckboxGroup.class.php @@ -33,17 +33,16 @@ class CheckboxGroup extends FormElement { var $mOptions = array(); var $mLayout = "V"; var $mGroupIn = 1; - var $class = 'CheckboxGroup'; var $mDataKeys = array(); var $mDataDeep = 1; var $lSelAll = "All"; var $lSelNone = "None"; - function __construct($name,$value="") - { - $this->name = $name; - $this->value = $value; - } + function __construct($name, $value = '') { + $this->class = 'CheckboxGroup'; + $this->name = $name; + $this->value = $value; + } function setChecked($value) { $this->mChecked = $value; } function isChecked() { return $this->mChecked; } @@ -65,7 +64,7 @@ class CheckboxGroup extends FormElement { $this->lSelNone = $i18n->getKey('label.select_none'); } - function toStringControl() { + function getHtml() { if ($this->id=="") $this->id = $this->name;