ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
class.SurveyTextQuestionEvaluation.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
4
11{
12 //
13 // DETAILS
14 //
15
16 public function getGrid($a_results, $a_abs = true, $a_perc = true)
17 {
18 }
19
20 public function getChart($a_results)
21 {
22 }
23
24
25 //
26 // EXPORT
27 //
28
29 public function getExportGrid($a_results)
30 {
31 }
32
33 public function addUserSpecificResults(array &$a_row, $a_user_id, $a_results)
34 {
35 $answer = $a_results->getUserResults($a_user_id);
36 if ($answer === null) {
37 $a_row[] = $this->getSkippedValue();
38 } else {
39 $a_row[] = $answer[0][1];
40 }
41 }
42}
An exception for terminatinating execution or to throw for unit testing.
getSkippedValue()
Get caption for skipped value.
getGrid($a_results, $a_abs=true, $a_perc=true)
Get grid data.
addUserSpecificResults(array &$a_row, $a_user_id, $a_results)