24 include_once(
"./Services/Table/interfaces/interface.ilTableFilterItem.php");
25 include_once(
"./Services/Form/classes/class.ilFormPropertyGUI.php");
59 $this->options = $a_options;
79 $this->value = $a_array;
89 return is_array($this->value) ? $this->value : array();
125 $this->
setAlert($lng->txt(
"msg_input_is_required"));
137 $tpl =
new ilTemplate(
"tpl.prop_multi_select.html",
true,
true,
"Services/Form");
140 foreach($this->
getOptions() as $option_value => $option_text)
142 $tpl->setCurrentBlock(
"item");
145 $tpl->setVariable(
"DISABLED",
146 " disabled=\"disabled\"");
148 if (in_array($option_value, $values))
150 $tpl->setVariable(
"CHECKED",
151 " checked=\"checked\"");
157 $tpl->setVariable(
"TXT_OPTION", $option_text);
159 $tpl->parseCurrentBlock();
173 $a_tpl->setCurrentBlock(
"prop_generic");
174 $a_tpl->setVariable(
"PROP_GENERIC", $this->
render());
175 $a_tpl->parseCurrentBlock();