51 $this->link_title = $a_val;
61 return $this->link_title;
71 $this->items = $a_val;
91 $this->selectionheaderclass = $a_selectionheaderclass;
101 return $this->selectionheaderclass;
111 $this->form_cmd = $a_val;
121 return $this->form_cmd;
131 $this->field_var = $a_val;
141 return $this->field_var;
151 $this->hidden_var = $a_val;
161 return $this->hidden_var;
172 $tpl =
new ilTemplate(
"tpl.checkbox_list_overlay.html",
true,
true,
173 "Services/UIComponent/CheckboxListOverlay",
"DEFAULT",
false,
true);
175 $tpl->setCurrentBlock(
"top_img");
179 $tpl->setVariable(
"ALT_SEL_TOP",
"");
181 $tpl->parseCurrentBlock();
185 foreach (
$items as $k => $v)
187 $tpl->setCurrentBlock(
"list_entry");
189 $tpl->setVariable(
"VAL_ENTRY", $k);
190 $tpl->setVariable(
"TXT_ENTRY", $v[
"txt"]);
191 $tpl->setVariable(
"IDX_ENTRY", ++$cnt);
194 $tpl->setVariable(
"CHECKED",
"checked='checked'");
196 $tpl->parseCurrentBlock();
202 $tpl->setVariable(
"VAL_SUBMIT", $lng->txt(
"refresh"));
getSelectionHeaderClass()
Get Selection Header Class.
setHiddenVar($a_val)
Set hidden var (used to indicated that checkbox array has been sent in a form)
getHiddenVar()
Get hidden var.
setFormCmd($a_val)
Set form command.
getLinkTitle()
Get link title.
__construct($a_id="")
Constructor.
getHTML()
Get selection list HTML.
special template class to simplify handling of ITX/PEAR
setFieldVar($a_val)
Set field var.
User interface class for a checkbox list overlay.
setLinkTitle($a_val)
Set link title.
Create styles array
The data for the language used.
getFormCmd()
Get form command.
setItems($a_val)
Set items.
setSelectionHeaderClass($a_selectionheaderclass)
Set Selection Header Class.
getFieldVar()
Get field var.