3declare(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) {
140 " disabled=\"disabled\""
156 $this->tpl->addJavascript(
"./Services/Form/js/ServiceFormWizardInput.js");
157 $this->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 class represents a text property in a property form.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
insert(ilTemplate $a_tpl)
ilGlobalTemplateInterface $tpl
setAllowMove(bool $a_allow_move)
setValues(array $a_values)
__construct(string $a_title="", string $a_postvar="")
checkInput()
Check input, strip slashes etc.
render(string $a_mode="")
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
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