44 $this->
lng = $DIC->language();
46 $this->validationRegexp =
"";
90 $submittedElements = $this->
getInput();
92 if ($submittedElements === [] && $this->
getRequired()) {
97 foreach ($submittedElements as $submittedValue) {
100 if ($this->
getRequired() && trim((
string) $submittedContentText) ===
"") {
120 public function render(
string $a_mode =
""): string
122 $tpl =
new ilTemplate(
"tpl.prop_multi_text_inp.html",
true,
true,
"Services/Form");
126 $tpl->setCurrentBlock(
"prop_text_propval");
128 $tpl->parseCurrentBlock();
131 $tpl->setCurrentBlock(
"move");
139 $tpl->parseCurrentBlock();
141 $tpl->setCurrentBlock(
"row");
150 " disabled=\"disabled\"" 161 $tpl->parseCurrentBlock();
168 $globalTpl->addJavascript(
"./Services/Form/js/ServiceFormWizardInput.js");
169 $globalTpl->addJavascript(
"./Services/Form/js/ServiceFormIdentifiedWizardInputExtend.js");
170 $globalTpl->addJavascript(
"./Services/Form/js/ServiceFormMultiTextInputInit.js");
186 return (
bool) strlen(
$value);
render(string $a_mode="")
fetchContentTextFromValue($value)
__construct($a_title="", $a_postvar="")
Constructor.
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="")
onCheckInput()
Check input, strip slashes etc.
valueHasContentText($value)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
isEditElementOrderEnabled()
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
isEditElementOccuranceEnabled()
$editElementOccuranceEnabled
__construct(Container $dic, ilPlugin $plugin)
setEditElementOrderEnabled($editElementOrderEnabled)
if($DIC->http() ->request() ->getMethod()=="GET" &&isset($DIC->http() ->request() ->getQueryParams()['tex'])) $tpl
setEditElementOccuranceEnabled($editElementOccuranceEnabled)