ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
class.SurveyTextQuestionEvaluation.php
Go to the documentation of this file.
1
<?php
2
24
class
SurveyTextQuestionEvaluation
extends
SurveyQuestionEvaluation
25
{
26
//
27
// DETAILS
28
//
29
33
public
function
getGrid
(
34
$a_results,
35
bool
$a_abs =
true
,
36
bool
$a_perc =
true
37
): array {
38
return
[];
39
}
40
44
public
function
getChart
($a_results): ?array
45
{
46
return
null
;
47
}
48
49
50
//
51
// EXPORT
52
//
53
57
public
function
getExportGrid
($a_results): array
58
{
59
return
[];
60
}
61
62
public
function
addUserSpecificResults
(
63
array &$a_row,
64
int
$a_user_id,
65
$a_results
66
): void {
67
$answer = $a_results->getUserResults($a_user_id);
68
if
(count($answer) === 0) {
69
$a_row[] = $this->
getSkippedValue
();
70
}
else
{
71
$a_row[] = $answer[0][1];
72
}
73
}
74
}
SurveyQuestionEvaluation
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.SurveyQuestionEvaluation.php:24
SurveyTextQuestionEvaluation\getChart
getChart($a_results)
Definition:
class.SurveyTextQuestionEvaluation.php:44
SurveyTextQuestionEvaluation\getGrid
getGrid( $a_results, bool $a_abs=true, bool $a_perc=true)
Definition:
class.SurveyTextQuestionEvaluation.php:33
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:144
SurveyTextQuestionEvaluation
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.SurveyTextQuestionEvaluation.php:24
SurveyTextQuestionEvaluation\addUserSpecificResults
addUserSpecificResults(array &$a_row, int $a_user_id, $a_results)
Definition:
class.SurveyTextQuestionEvaluation.php:62
SurveyQuestionEvaluation\getSkippedValue
getSkippedValue()
Get caption for skipped value.
Definition:
class.SurveyQuestionEvaluation.php:419
SurveyTextQuestionEvaluation\getExportGrid
getExportGrid($a_results)
Definition:
class.SurveyTextQuestionEvaluation.php:57
components
ILIAS
SurveyQuestionPool
Questions
class.SurveyTextQuestionEvaluation.php
Generated on Sun Aug 31 2025 23:03:54 for ILIAS by
1.8.13 (using
Doxyfile
)