34 $this->lng = $DIC->language();
35 parent::__construct($a_title, $a_postvar);
44 public function addOption($a_value, $a_text, $a_html =
"")
46 $this->options[$a_value] = array(
"value" => $a_value,
47 "txt" => $a_text,
"html" => $a_html);
67 $this->value = $a_value;
116 include_once(
"./Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php");
118 $selection->setFormSelectMode(
132 $selection->setSelectedValue($this->
getValue());
133 $selection->setUseImages(
false);
146 if ($this->
getValue() == $option[
"value"]) {
147 $selection->setListTitle($option[
"txt"]);
151 $a_tpl->setCurrentBlock(
"prop_generic");
152 $a_tpl->setVariable(
"PROP_GENERIC", $selection->getHTML());
153 $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
User interface class for advanced drop-down selection lists.