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++) {
28 $cat = $categories->getCategory(
$i);
30 $a_title_row[] = $cat->title .
" [" . $cat->scale .
"]";
31 $a_title_row2[] =
$lng->txt(
'other');
40 $categories = $this->question->getCategories();
41 for (
$i = 0;
$i < $categories->getCategoryCount();
$i++) {
42 $cat = $categories->getCategory(
$i);
44 $other[] = $cat->scale;
50 $answer = $a_results->getUserResults($a_user_id);
51 if ($answer === null) {
54 foreach ($other as $dummy) {
59 $a_row[] = $answer[0][3];
60 $a_row[] = $answer[0][2];
62 foreach ($other as $scale) {
63 if ($scale == $answer[0][2]) {
64 $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.