27 $this->lng = $DIC->language();
59 $this->link_title = $a_val;
69 return $this->link_title;
79 $this->items = $a_val;
99 $this->selectionheaderclass = $a_selectionheaderclass;
109 return $this->selectionheaderclass;
119 $this->form_cmd = $a_val;
129 return $this->form_cmd;
139 $this->field_var = $a_val;
149 return $this->field_var;
159 $this->hidden_var = $a_val;
169 return $this->hidden_var;
181 "tpl.checkbox_list_overlay.html",
184 "Services/UIComponent/CheckboxListOverlay",
190 $tpl->setCurrentBlock(
"top_img");
195 $tpl->parseCurrentBlock();
199 foreach (
$items as $k => $v) {
200 $tpl->setCurrentBlock(
"list_entry");
202 $tpl->setVariable(
"VAL_ENTRY", $k);
203 $tpl->setVariable(
"TXT_ENTRY", $v[
"txt"]);
204 $tpl->setVariable(
"IDX_ENTRY", ++$cnt);
205 if ($v[
"selected"]) {
206 $tpl->setVariable(
"CHECKED",
"checked='checked'");
208 $tpl->parseCurrentBlock();
214 $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.
if(!array_key_exists('StateId', $_REQUEST)) $id
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.
getFormCmd()
Get form command.
setItems($a_val)
Set items.
setSelectionHeaderClass($a_selectionheaderclass)
Set Selection Header Class.
getFieldVar()
Get field var.