ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Survey metric evaluation. More...
Public Member Functions | |
getGrid ($a_results, $a_abs=true, $a_perc=true) | |
getChart ($a_results) | |
getExportGrid ($a_results) | |
Get grid data. More... | |
addUserSpecificResults (array &$a_row, $a_user_id, $a_results) | |
Public Member Functions inherited from SurveyQuestionEvaluation | |
__construct (SurveyQuestion $a_question, array $a_finished_ids=null) | |
Constructor. More... | |
getResults () | |
Get results. More... | |
parseUserSpecificResults ($a_qres, $a_user_id) | |
getGrid ($a_results, $a_abs=true, $a_perc=true) | |
Get grid data. More... | |
getTextAnswers ($a_results) | |
Get text answers. More... | |
getChart ($a_results) | |
Get chart. More... | |
getSkippedValue () | |
Get caption for skipped value. More... | |
exportResults ($a_results, $a_do_title, $a_do_label) | |
getExportGrid ($a_results) | |
Get grid data. More... | |
getUserSpecificVariableTitles (array &$a_title_row, array &$a_title_row2, $a_do_title, $a_do_label) | |
Get title columns for user-specific export. More... | |
addUserSpecificResults (array &$a_row, $a_user_id, $a_results) | |
Protected Member Functions | |
parseResults (ilSurveyEvaluationResults $a_results, array $a_answers, SurveyCategories $a_categories=null) | |
Protected Member Functions inherited from SurveyQuestionEvaluation | |
parseResults (ilSurveyEvaluationResults $a_results, array $a_answers, SurveyCategories $a_categories=null) | |
Parse answer data into results instance. More... | |
getChartColors () | |
getSurveyId () | |
getNrOfParticipants () | |
Returns the number of participants for a survey. More... | |
getAnswerData () | |
Additional Inherited Members | |
Protected Attributes inherited from SurveyQuestionEvaluation | |
$lng | |
$db | |
$question | |
$finished_ids | |
$chart_width = 400 | |
$chart_height = 300 | |
Survey metric evaluation.
Definition at line 12 of file class.SurveyMetricQuestionEvaluation.php.
SurveyMetricQuestionEvaluation::addUserSpecificResults | ( | array & | $a_row, |
$a_user_id, | |||
$a_results | |||
) |
Definition at line 181 of file class.SurveyMetricQuestionEvaluation.php.
References SurveyQuestionEvaluation\getSkippedValue().
SurveyMetricQuestionEvaluation::getChart | ( | $a_results | ) |
Definition at line 99 of file class.SurveyMetricQuestionEvaluation.php.
References $chart, $data, SurveyQuestionEvaluation\$lng, $total, array, ilChartGrid\DATA_BARS, SurveyQuestionEvaluation\getChartColors(), ilChart\getInstanceByType(), and ilChart\TYPE_GRID.
SurveyMetricQuestionEvaluation::getExportGrid | ( | $a_results | ) |
Get grid data.
ilSurveyEvaluationResults | array | $a_results |
Definition at line 149 of file class.SurveyMetricQuestionEvaluation.php.
References SurveyQuestionEvaluation\$lng, $res, $total, and array.
SurveyMetricQuestionEvaluation::getGrid | ( | $a_results, | |
$a_abs = true , |
|||
$a_perc = true |
|||
) |
Definition at line 40 of file class.SurveyMetricQuestionEvaluation.php.
References $cols, SurveyQuestionEvaluation\$lng, $res, $total, and array.
|
protected |
Definition at line 18 of file class.SurveyMetricQuestionEvaluation.php.
References $total, and ilSurveyEvaluationResults\setMean().