19 declare(strict_types=1);
36 string $a_postvar =
"" 40 $this->
lng = $DIC->language();
50 $this->options[$a_value] = array(
"value" => $a_value,
51 "txt" => $a_text,
"html" => $a_html);
59 public function setValue(
string $a_value): void
61 $this->value = $a_value;
104 $selection->setFormSelectMode(
115 $selection->setSelectedValue($this->
getValue());
116 $selection->setUseImages(
false);
117 $selection->setPullRight($this->right);
130 if ($this->
getValue() == $option[
"value"]) {
131 $selection->setListTitle($option[
"txt"]);
141 $a_tpl->
setVariable(
"PROP_GENERIC", $selection->getHTML());
parseCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
const ON_ITEM_CLICK_FORM_SELECT
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
setVariable($variable, $value='')
Sets a variable value.
setCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)