4 include_once
"Modules/SurveyQuestionPool/classes/class.SurveyQuestionEvaluation.php";
23 $a_title_row[] = $a_title_row[count($a_title_row) - 1];
24 $a_title_row2[] = $a_title_row2[count($a_title_row2) - 1];
26 $categories = $this->question->getCategories();
27 for ($i = 0; $i < $categories->getCategoryCount(); $i++)
29 $cat = $categories->getCategory($i);
32 $a_title_row[] = $cat->title.
" [".$cat->scale.
"]";
33 $a_title_row2[] = $lng->txt(
'other');
42 $categories = $this->question->getCategories();
43 for ($i = 0; $i < $categories->getCategoryCount(); $i++)
45 $cat = $categories->getCategory($i);
48 $other[] = $cat->scale;
54 $answer = $a_results->getUserResults($a_user_id);
59 foreach($other as $dummy)
67 $a_row[] = $answer[0][3];
68 $a_row[] = $answer[0][2];
70 foreach($other as $scale)
72 if($scale == $answer[0][2])
74 $a_row[] = $answer[0][1];
addUserSpecificResults(array &$a_row, $a_user_id, $a_results)
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.
getSkippedValue()
Get caption for skipped value.