ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Survey matrix evaluation. More...
Public Member Functions | |
getResults () | |
Get results. More... | |
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... | |
exportResults ($a_results, $a_do_title, $a_do_label) | |
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) | |
![]() | |
__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) | |
Additional Inherited Members | |
![]() | |
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 () | |
![]() | |
$question | |
$finished_ids | |
$chart_width = 400 | |
$chart_height = 300 | |
Survey matrix evaluation.
Definition at line 12 of file class.SurveyMatrixQuestionEvaluation.php.
SurveyMatrixQuestionEvaluation::addUserSpecificResults | ( | array & | $a_row, |
$a_user_id, | |||
$a_results | |||
) |
array | $a_row | |
int | $a_user_id | |
ilSurveyEvaluationResults | array | $a_results |
Reimplemented from SurveyQuestionEvaluation.
Definition at line 359 of file class.SurveyMatrixQuestionEvaluation.php.
References $row, and SurveyQuestionEvaluation\getSkippedValue().
SurveyMatrixQuestionEvaluation::exportResults | ( | $a_results, | |
$a_do_title, | |||
$a_do_label | |||
) |
Reimplemented from SurveyQuestionEvaluation.
Definition at line 215 of file class.SurveyMatrixQuestionEvaluation.php.
References SurveyQuestionEvaluation\$question, $row, and SurveyQuestion\_getQuestionTypeName().
SurveyMatrixQuestionEvaluation::getChart | ( | $a_results | ) |
Get chart.
ilSurveyEvaluationResults | array | $a_results |
Reimplemented from SurveyQuestionEvaluation.
Definition at line 129 of file class.SurveyMatrixQuestionEvaluation.php.
References $chart, $data, $legend, $lng, $row, ilChartGrid\DATA_BARS, SurveyQuestionEvaluation\getChartColors(), ilChart\getInstanceByType(), ilUtil\shortenText(), and ilChart\TYPE_GRID.
SurveyMatrixQuestionEvaluation::getGrid | ( | $a_results, | |
$a_abs = true , |
|||
$a_perc = true |
|||
) |
Get grid data.
ilSurveyEvaluationResults | array | $a_results | |
bool | $a_abs | |
bool | $a_perc |
Reimplemented from SurveyQuestionEvaluation.
Definition at line 50 of file class.SurveyMatrixQuestionEvaluation.php.
SurveyMatrixQuestionEvaluation::getResults | ( | ) |
Get results.
Reimplemented from SurveyQuestionEvaluation.
Definition at line 18 of file class.SurveyMatrixQuestionEvaluation.php.
References $r, $results, SurveyQuestionEvaluation\getAnswerData(), and SurveyQuestionEvaluation\parseResults().
SurveyMatrixQuestionEvaluation::getTextAnswers | ( | $a_results | ) |
Get text answers.
ilSurveyEvaluationResults | array | $a_results |
Reimplemented from SurveyQuestionEvaluation.
Definition at line 106 of file class.SurveyMatrixQuestionEvaluation.php.
References $res.
SurveyMatrixQuestionEvaluation::getUserSpecificVariableTitles | ( | array & | $a_title_row, |
array & | $a_title_row2, | ||
$a_do_title, | |||
$a_do_label | |||
) |
Get title columns for user-specific export.
array | $a_title_row | |
array | $a_title_row2 | |
bool | $a_do_title | |
bool | $a_do_label |
Reimplemented from SurveyQuestionEvaluation.
Definition at line 284 of file class.SurveyMatrixQuestionEvaluation.php.