|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for SurveyMetricQuestionEvaluation:
Collaboration diagram for SurveyMetricQuestionEvaluation:Public Member Functions | |
| getGrid ( $a_results, bool $a_abs=true, bool $a_perc=true) | |
| getChart ($a_results) | |
| getExportGrid ($a_results) | |
| Get grid data. More... | |
| addUserSpecificResults (array &$a_row, int $a_user_id, $a_results) | |
Public Member Functions inherited from SurveyQuestionEvaluation | |
| __construct (SurveyQuestion $a_question, array $a_finished_ids=[]) | |
| getResults () | |
| Get results. More... | |
| getSumScores () | |
| Get sum score for this question for all active ids of run. More... | |
| parseUserSpecificResults ($a_qres, int $a_user_id) | |
| getGrid ( $a_results, bool $a_abs=true, bool $a_perc=true) | |
| Get grid data. More... | |
| getTextAnswers ($a_results) | |
| Get text answers. More... | |
| getChart ($a_results) | |
| getSkippedValue () | |
| Get caption for skipped value. More... | |
| exportResults ( $a_results, bool $a_do_title, bool $a_do_label) | |
| getExportGrid ($a_results) | |
| Get grid data. More... | |
| getUserSpecificVariableTitles (array &$a_title_row, array &$a_title_row2, bool $a_do_title, bool $a_do_label) | |
| Get title columns for user-specific export. More... | |
| addUserSpecificResults (array &$a_row, int $a_user_id, $a_results) | |
Protected Member Functions | |
| parseResults (ilSurveyEvaluationResults $a_results, array $a_answers, SurveyCategories $a_categories=null) | |
| Parse answer data into results instance. More... | |
Protected Member Functions inherited from SurveyQuestionEvaluation | |
| isSumScoreValid (int $nr_answer_records) | |
| Is sum score ok (question needs to be fully answered) More... | |
| supportsSumScore () | |
| 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 | |
| ilLanguage | $lng |
| ilDBInterface | $db |
| SurveyQuestion | $question |
| array | $finished_ids |
| int | $chart_width = 400 |
| int | $chart_height = 300 |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Survey metric evaluation
Definition at line 24 of file class.SurveyMetricQuestionEvaluation.php.
| SurveyMetricQuestionEvaluation::addUserSpecificResults | ( | array & | $a_row, |
| int | $a_user_id, | ||
| $a_results | |||
| ) |
| array | ilSurveyEvaluationResults | $a_results |
Reimplemented from SurveyQuestionEvaluation.
Definition at line 208 of file class.SurveyMetricQuestionEvaluation.php.
| SurveyMetricQuestionEvaluation::getChart | ( | $a_results | ) |
| array | ilSurveyEvaluationResults | $a_results |
Reimplemented from SurveyQuestionEvaluation.
Definition at line 122 of file class.SurveyMetricQuestionEvaluation.php.
References $data, $lng, ilChartGrid\DATA_BARS, ilSurveyEvaluationResults\getAnswers(), ilChart\getInstanceByType(), ilSurveyEvaluationResults\getQuestion(), and ilChart\TYPE_GRID.
Here is the call graph for this function:| SurveyMetricQuestionEvaluation::getExportGrid | ( | $a_results | ) |
Get grid data.
| ilSurveyEvaluationResults | array | $a_results |
Reimplemented from SurveyQuestionEvaluation.
Definition at line 173 of file class.SurveyMetricQuestionEvaluation.php.
References $lng, $res, and ilSurveyEvaluationResults\getAnswers().
Here is the call graph for this function:| array | ilSurveyEvaluationResults | $a_results |
Reimplemented from SurveyQuestionEvaluation.
Definition at line 58 of file class.SurveyMetricQuestionEvaluation.php.
|
protected |
Parse answer data into results instance.
Reimplemented from SurveyQuestionEvaluation.
Definition at line 30 of file class.SurveyMetricQuestionEvaluation.php.