47         $this->
lng = $DIC->language();
    48         $this->question = $a_question;
    58         $this->users_answered = $a_value;
    68         $this->users_skipped = $a_value;
    81         int $a_nr_of_selections
    83         $this->mode_value = is_array($a_value)
    85             : trim($a_value ?? 
"");
    86         $this->mode_nr_of_selections = $a_nr_of_selections;
    99         if ($this->mode_value === null) {
   106         if (!is_array($mvalues)) {
   107             $mvalues = array($mvalues);
   109         sort($mvalues, SORT_NUMERIC);
   110         foreach ($mvalues as $value) {
   114         return implode(
", ", 
$res);
   124         $this->arithmetic_mean = $a_mean;
   137         $this->median = is_array($a_value)
   139             : trim($a_value ?? 
"");
   154         if ($this->median === null) {
   158         if (!is_array($this->median)) {
   162         return $lng->
txt(
"median_between") . 
" " .
   164             $lng->
txt(
"and") . 
" " .
   171         $this->variables[] = $a_variable;
   176         return $this->variables ?? [];
   182         $this->answers[] = $a_answer;
   187         return $this->answers ?? [];
   197         if (!count($this->variables)) {
   200             foreach ($this->variables as $var) {
   201                 if ($var->cat->scale == $a_value) {
   202                     return $var->cat->title . 
" [" . $a_value . 
"]";
   212         if (!count($this->variables)) {
   215             foreach ($this->variables as $var) {
   216                 if ($var->cat->scale == $a_value) {
   217                     return $var->cat->title;
   228         foreach ($this->answers as $answer) {
   244             foreach ($answers as $answer) {
   245                 if ($answer->active_id == $a_active_id) {
   250                         $this->getCatTitle($answer->value)
 
setUsersAnswered(int $a_value)
 
int $mode_nr_of_selections
 
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...
 
setUsersSkipped(int $a_value)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
sort()
 description: > Example for rendering a Sort Glyph. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
getUserResults(int $a_active_id)
 
getCatTitle(float $a_value)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
addVariable(ilSurveyEvaluationResultsVariable $a_variable)
 
setMode( $a_value, int $a_nr_of_selections)
 
__construct(SurveyQuestion $a_question)
 
addAnswer(ilSurveyEvaluationResultsAnswer $a_answer)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...