39         $a_title_row[] = $a_title_row[count($a_title_row) - 1];
    40         $a_title_row2[] = $a_title_row2[count($a_title_row2) - 1];
    42         $categories = $this->question->getCategories();
    43         for ($i = 0; $i < $categories->getCategoryCount(); $i++) {
    44             $cat = $categories->getCategory($i);
    46                 $a_title_row[] = $cat->title . 
" [" . $cat->scale . 
"]";
    47                 $a_title_row2[] = 
$lng->
txt(
'other');
    62         $categories = $this->question->getCategories();
    63         for ($i = 0; $i < $categories->getCategoryCount(); $i++) {
    64             $cat = $categories->getCategory($i);
    66                 $other[] = $cat->scale;
    72         $answer = $a_results->getUserResults($a_user_id);
    73         if (count($answer) === 0) {
    76             foreach ($other as $dummy) {
    81             $a_row[] = $answer[0][3];   
    82             $a_row[] = $answer[0][2];   
    84             foreach ($other as $scale) {
    85                 if ($scale == $answer[0][2]) {
    86                     $a_row[] = $answer[0][1];
 
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...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
getUserSpecificVariableTitles(array &$a_title_row, array &$a_title_row2, bool $a_do_title, bool $a_do_label)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
getSkippedValue()
Get caption for skipped value. 
 
addUserSpecificResults(array &$a_row, int $a_user_id, $a_results)