3 declare(strict_types=1);
34 string $a_postvar =
"" 38 $this->
lng = $DIC->language();
39 $this->tpl = $DIC[
"tpl"];
41 $this->validationRegexp =
"";
46 $this->values = $a_values;
54 $this->values = (array) $a_value;
64 $this->allowMove = $a_allow_move;
77 if (count($foundvalues) > 0) {
78 foreach ($foundvalues as
$value) {
112 public function render(
string $a_mode =
""): string
114 $tpl =
new ilTemplate(
"tpl.prop_textwizardinput.html",
true,
true,
"Services/Form");
116 foreach ($this->values as
$value) {
117 if (strlen($value)) {
140 " disabled=\"disabled\"" 156 $this->tpl->addJavascript(
"./Services/Form/js/ServiceFormWizardInput.js");
157 $this->tpl->addJavascript(
"./Services/Form/templates/default/textwizard.js");
parseCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
__construct(string $a_title="", string $a_postvar="")
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...
static get(string $a_glyph, string $a_text="")
ilGlobalTemplateInterface $tpl
get(string $part=self::DEFAULT_BLOCK)
Renders the given block and returns the html string.
setVariable(string $variable, $value='')
Sets the given variable to the given value.
insert(ilTemplate $a_tpl)
render(string $a_mode="")
setVariable($variable, $value='')
Sets a variable value.
setAllowMove(bool $a_allow_move)
setCurrentBlock(string $part=self::DEFAULT_BLOCK)
Sets the template to the given block.
setCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
setValues(array $a_values)
__construct(Container $dic, ilPlugin $plugin)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
parseCurrentBlock(string $block_name=self::DEFAULT_BLOCK)
Parses the given block.