- $html = "<input type=\"checkbox\" name=\"$this->mName[]\" id=\"$this->mId"."_".$i."\"";
- if (is_array($this->mValue)) {
- foreach ($this->mValue as $value) {
- if (($value == $optkey) && ($value != null))
+ $html = "<input type=\"checkbox\" name=\"$this->name[]\" id=\"$this->id"."_".$i."\"";
+ if (is_array($this->value)) {
+ foreach ($this->value as $element) {
+ if (($element == $optkey) && ($element != null))