4 include_once
"Modules/SurveyQuestionPool/classes/class.SurveyQuestionEvaluation.php";
23 $categories = $this->question->getCategories();
24 for ($i = 0; $i < $categories->getCategoryCount(); $i++)
26 $cat = $categories->getCategory($i);
28 $a_title_row[] = $cat->title.
" [".$cat->scale.
"]";
33 $a_title_row[] = $cat->title.
" [".$cat->scale.
"]";
34 $a_title_row2[] = $lng->txt(
'other');
41 $categories = $this->question->getCategories();
43 $answers = $a_results->getUserResults($a_user_id);
48 for ($i = 0; $i < $categories->getCategoryCount(); $i++)
50 $cat = $categories->getCategory($i);
63 for ($i = 0; $i < $categories->getCategoryCount(); $i++)
65 $cat = $categories->getCategory($i);
67 foreach($answers as $answer)
69 if($answer[2] == $cat->scale)
71 $a_row[] = $answer[2];
74 $a_row[] = $answer[1];
Survey question evaluation.
getUserSpecificVariableTitles(array &$a_title_row, array &$a_title_row2, $a_do_title, $a_do_label)
Create styles array
The data for the language used.
addUserSpecificResults(array &$a_row, $a_user_id, $a_results)
getSkippedValue()
Get caption for skipped value.