ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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  public function getChart($a_results)
23  {
24  }
25 
26 
27  //
28  // EXPORT
29  //
30 
31  public function getExportGrid($a_results)
32  {
33  }
34 
35  public function addUserSpecificResults(array &$a_row, $a_user_id, $a_results)
36  {
37  $answer = $a_results->getUserResults($a_user_id);
38  if ($answer === null) {
39  $a_row[] = $this->getSkippedValue();
40  } else {
41  $a_row[] = $answer[0][1];
42  }
43  }
44 }
addUserSpecificResults(array &$a_row, $a_user_id, $a_results)
getGrid($a_results, $a_abs=true, $a_perc=true)
getSkippedValue()
Get caption for skipped value.