27 parent::__construct($a_title, $a_postvar);
38 $this->options[$a_value] =
array(
"value" => $a_value,
39 "txt" => $a_text,
"html" => $a_html);
59 $this->value = $a_value;
95 $this->
setAlert($lng->txt(
"msg_input_is_required"));
109 include_once(
"./Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php");
111 $selection->setFormSelectMode($this->
getPostVar(),
"",
false,
116 $selection->setSelectedValue($this->
getValue());
117 $selection->setUseImages(
false);
122 $selection->addItem($option[
"txt"], $option[
"value"],
"",
123 "", $option[
"value"],
"", $option[
"html"]);
124 if ($this->
getValue() == $option[
"value"])
126 $selection->setListTitle($option[
"txt"]);
130 $a_tpl->setCurrentBlock(
"prop_generic");
131 $a_tpl->setVariable(
"PROP_GENERIC", $selection->getHTML());
132 $a_tpl->parseCurrentBlock();
const ON_ITEM_CLICK_FORM_SELECT
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
Create styles array
The data for the language used.
User interface class for advanced drop-down selection lists.