26     protected \ILIAS\Survey\InternalGUIService 
$gui;
    37         string $a_postvar = 
""    41         $this->
lng = $DIC->language();
    42         $this->tpl = $DIC[
"tpl"];
    43         $lng = $DIC->language();
    47         $this->show_wizard = 
false;
    48         $this->categorytext = 
$lng->
txt(
'row_text');
    49         $this->use_other_answer = 
false;
    52         $this->gui = $DIC->survey()->internal()->gui();
    62         $this->use_other_answer = $a_value;
    71         if (is_array($a_value) && is_array($a_value[
'answer'])) {
    72             foreach ($a_value[
'answer'] as $index => 
$value) {
    73                 $this->values->addCategory(
$value, $a_value[
'other'][$index] ?? 0);
    80         $this->values = $a_values;
    90         $this->allowMove = $a_allow_move;
   100         $this->show_wizard = $a_value;
   110         $this->categorytext = $a_text;
   120         $this->labeltext = $a_text;
   133         if (count($foundvalues) > 0) {
   135             if (is_array($foundvalues[
'answer'])) {
   136                 foreach ($foundvalues[
'answer'] as $idx => $answervalue) {
   137                     if (((strlen($answervalue ?? 
"")) == 0) && ($this->
getRequired() && (!$foundvalues[
'other'][$idx]))) {
   162         $tpl = 
new ilTemplate(
"tpl.prop_matrixrowwizardinput.html", 
true, 
true, 
"Modules/SurveyQuestionPool");
   163         if (is_object($this->values)) {
   164             for ($i = 0; $i < $this->values->getCategoryCount(); $i++) {
   165                 $cat = $this->values->getCategory($i);
   179                         $tpl->
setVariable(
"CHECKED_OTHER", 
' checked="checked"');
   189                     $tpl->
setVariable(
"UP_BUTTON", $this->gui->symbol()->glyph(
"up")->render());
   190                     $tpl->
setVariable(
"DOWN_BUTTON", $this->gui->symbol()->glyph(
"down")->render());
   203                     $tpl->
setVariable(
"DISABLED", 
" disabled=\"disabled\"");
   204                     $tpl->
setVariable(
"DISABLED_LABEL", 
" disabled=\"disabled\"");
   209                 $tpl->
setVariable(
"ADD_BUTTON", $this->gui->symbol()->glyph(
"add")->render());
   210                 $tpl->
setVariable(
"REMOVE_BUTTON", $this->gui->symbol()->glyph(
"remove")->render());
   231         $tpl->
addJavaScript(
"./Services/Form/js/ServiceFormWizardInput.js");
   232         $tpl->
addJavaScript(
"./Modules/SurveyQuestionPool/js/matrixrowwizard.js");
 parseCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
 
static stripSlashesRecursive($a_data, bool $a_strip_html=true, string $a_allow="")
 
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...
 
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. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
setVariable($variable, $value='')
Sets a variable value. 
 
addJavaScript(string $a_js_file, bool $a_add_version_parameter=true, int $a_batch=2)
Add a javascript file that should be included in the header. 
 
setCurrentBlock(string $part=self::DEFAULT_BLOCK)
Sets the template to the given block. 
 
setCurrentBlock(string $part=ilGlobalTemplateInterface::DEFAULT_BLOCK)
 
setMaxLength(?int $a_maxlength)
 
parseCurrentBlock(string $block_name=self::DEFAULT_BLOCK)
Parses the given block.