3declare(strict_types=1);
33 string $a_postvar =
""
37 $this->
lng = $DIC->language();
38 $this->tpl =
$DIC[
"tpl"];
49 $this->open_answer_indexes = $a_indexes;
55 $this->open_answer_indexes[] = $a_idx;
60 return in_array($a_idx, $this->open_answer_indexes);
69 if (is_array($foundvalues)) {
70 foreach ($foundvalues as
$value) {
100 parent::setValueByArray($a_values);
111 $tpl =
new ilTemplate(
"tpl.prop_selectbuilder.html",
true,
true,
"Services/Form");
113 foreach ($this->values as
$value) {
135 #$tpl->setVariable('POST_VAR_OPEN',$this->getPostVar().'[open]'.'['.$i.']');
155 " disabled=\"disabled\""
170 $tpl->addJavascript(
"./Services/Form/js/ServiceFormWizardInput.js");
171 $tpl->addJavascript(
"./Services/Form/templates/default/textwizard.js");
setVariable($variable, $value='')
Sets a variable value.
static get(string $a_glyph, string $a_text="")
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...
special template class to simplify handling of ITX/PEAR
setCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
parseCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilGlobalTemplateInterface $tpl
setCurrentBlock(string $part=self::DEFAULT_BLOCK)
Sets the template to the given block.
parseCurrentBlock(string $block_name=self::DEFAULT_BLOCK)
Parses the given block.
setVariable(string $variable, $value='')
Sets the given variable to the given value.
get(string $part=self::DEFAULT_BLOCK)
Renders the given block and returns the html string.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc