ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
class.SurveyTextQuestionEvaluation.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 include_once "Modules/SurveyQuestionPool/classes/class.SurveyQuestionEvaluation.php";
5 
13 {
14  //
15  // DETAILS
16  //
17 
18  public function getGrid($a_results, $a_abs = true, $a_perc = true)
19  {
20 
21  }
22 
23  public function getChart($a_results)
24  {
25 
26  }
27 
28 
29  //
30  // EXPORT
31  //
32 
33  public function getExportGrid($a_results)
34  {
35 
36  }
37 
38  public function addUserSpecificResults(array &$a_row, $a_user_id, $a_results)
39  {
40  $answer = $a_results->getUserResults($a_user_id);
41  if($answer === null)
42  {
43  $a_row[] = $this->getSkippedValue();
44  }
45  else
46  {
47  $a_row[] = $answer[0][1];
48  }
49  }
50 }
addUserSpecificResults(array &$a_row, $a_user_id, $a_results)
Create styles array
The data for the language used.
getGrid($a_results, $a_abs=true, $a_perc=true)
getSkippedValue()
Get caption for skipped value.