24 include_once(
"./Services/Table/interfaces/interface.ilTableFilterItem.php");
25 include_once(
"./Services/Form/classes/class.ilFormPropertyGUI.php");
76 $this->width = (int)$a_width;
98 $this->height = (int)$a_height;
119 $this->options = $a_options;
139 $this->value = $a_array;
149 return is_array($this->value) ? $this->value : array();
185 $this->
setAlert($lng->txt(
"msg_input_is_required"));
197 $tpl =
new ilTemplate(
"tpl.prop_multi_select.html",
true,
true,
"Services/Form");
203 foreach(
$options as $option_value => $option_text)
205 $tpl->setCurrentBlock(
"item");
208 $tpl->setVariable(
"DISABLED",
209 " disabled=\"disabled\"");
211 if (in_array($option_value, $values))
213 $tpl->setVariable(
"CHECKED",
214 " checked=\"checked\"");
220 $tpl->setVariable(
"TXT_OPTION", $option_text);
222 $tpl->parseCurrentBlock();
241 $a_tpl->setCurrentBlock(
"prop_generic");
242 $a_tpl->setVariable(
"PROP_GENERIC", $this->
render());
243 $a_tpl->parseCurrentBlock();