ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (ilObjSurvey $a_object) | |
executeCommand () | |
setEvalSubtabs () | |
Set the tabs for the evaluation output. More... | |
setAppraiseeId (int $a_val) | |
getAppraiseeId () | |
checkAnonymizedEvaluationAccess () | |
checkEvaluationAccess () | |
Checks the evaluation access after entering the survey access code. More... | |
cancelEvaluationAccess () | |
Cancels the input of the survey access code for evaluation access. More... | |
exportCumulatedResults (int $details=0) | |
exportData () | |
exportDetailData () | |
printEvaluation () | |
evaluation (int $details=0) | |
processCSVRow (array $row, bool $quoteAll=false, string $separator=";") | |
Processes an array as a CSV row and converts the array values to correct CSV values. More... | |
exportEvaluationUser () | |
evaluationuser () | |
Print the survey evaluation for a selected user. More... | |
competenceEval () | |
sumscore () | |
Show sum score table. More... | |
printResultsOverviewSelection () | |
printResultsDetailsSelection () | |
printResultsDetails () | |
printResultsPerUserSelection () | |
printResultsPerUser () | |
Data Fields | |
const | TYPE_XLS = "excel" |
const | TYPE_SPSS = "csv" |
const | EXCEL_SUBTITLE = "DDDDDD" |
Protected Member Functions | |
evaluationdetails () | |
Show the detailed evaluation. More... | |
exportResultsDetailsExcel (ilExcel $a_excel, SurveyQuestionEvaluation $a_eval, $a_results, bool $a_do_title, bool $a_do_label) | |
Export details (excel only) More... | |
parseResultsToExcel (ilExcel $a_excel, ilSurveyEvaluationResults $a_results, int &$a_excel_row, array $a_grid=null, array $a_text_answers=null, bool $a_include_mode=true) | |
buildExportModal (string $a_id, string $a_cmd) | |
get modal html More... | |
openEvaluation () | |
hasResultsAccess () | |
Check if user can view results granted by rbac or positions. More... | |
getSumScores (?array $a_finished_ids=null) | |
Protected Attributes | |
ILIAS Survey Access AccessManager | $access_manager |
ILIAS Survey PrintView GUIService | |
$last_questionblock_id | |
array | $array_panels |
ilLogger | $log |
ILIAS DI UIServices | $ui |
ILIAS Survey Evaluation EvaluationManager | $evaluation_manager |
ilTabsGUI | $tabs |
ilAccessHandler | $access |
ilObjUser | $user |
ilRbacSystem | $rbacsystem |
ilTree | $tree |
ilToolbarGUI | $toolbar |
ilObjSurvey | $object |
ilLanguage | $lng |
ilGlobalTemplateInterface | $tpl |
ilCtrl | $ctrl |
int | $appr_id = null |
ILIAS Survey Mode UIModifier | $ui_modifier = null |
ILIAS Survey Evaluation EvaluationGUIRequest | $request |
ILIAS Skill Service SkillProfileService | $skill_profile_service |
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 evaluation graphical output
The ilSurveyEvaluationGUI class creates the evaluation output for the ilObjSurveyGUI class. This saves some heap space because the ilObjSurveyGUI class will be smaller.
Definition at line 27 of file class.ilSurveyEvaluationGUI.php.
ilSurveyEvaluationGUI::__construct | ( | ilObjSurvey | $a_object | ) |
Definition at line 58 of file class.ilSurveyEvaluationGUI.php.
References $DIC, $lng, $tpl, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilLoggerFactory\getLogger(), ILIAS\Repository\lng(), ILIAS\Repository\object(), setAppraiseeId(), ILIAS\Repository\tabs(), ILIAS\Repository\toolbar(), ILIAS\Repository\ui(), and ILIAS\Repository\user().
|
protected |
get modal html
ilCtrlException |
Definition at line 649 of file class.ilSurveyEvaluationGUI.php.
References $format, $tpl, ilGlobalTemplateInterface\addOnLoadCode(), ILIAS\Repository\ctrl(), ilModalGUI\getInstance(), ILIAS\Repository\lng(), and TYPE_SPSS.
Referenced by evaluationuser(), and sumscore().
ilSurveyEvaluationGUI::cancelEvaluationAccess | ( | ) |
Cancels the input of the survey access code for evaluation access.
Definition at line 268 of file class.ilSurveyEvaluationGUI.php.
References $ctrl, $path, $tree, ilTree\getPathFull(), and ILIAS\Repository\object().
Referenced by checkEvaluationAccess().
ilSurveyEvaluationGUI::checkAnonymizedEvaluationAccess | ( | ) |
Definition at line 198 of file class.ilSurveyEvaluationGUI.php.
References $ilUser, $user, ilObjSurveyAccess\_hasEvaluationAccess(), ilObject\_lookupObjId(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by evaluation().
ilSurveyEvaluationGUI::checkEvaluationAccess | ( | ) |
Checks the evaluation access after entering the survey access code.
Definition at line 253 of file class.ilSurveyEvaluationGUI.php.
References cancelEvaluationAccess(), evaluation(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
ilSurveyEvaluationGUI::competenceEval | ( | ) |
Definition at line 1114 of file class.ilSurveyEvaluationGUI.php.
References $ctrl, $id, $lng, $object, $tabs, $toolbar, $tpl, ILIAS\Repository\ctrl(), getAppraiseeId(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ilGlobalTemplateInterface\setContent(), ilLanguage\txt(), and ILIAS\Repository\user().
Referenced by openEvaluation().
ilSurveyEvaluationGUI::evaluation | ( | int | $details = 0 | ) |
Definition at line 705 of file class.ilSurveyEvaluationGUI.php.
References $appr_id, $data, ILIAS\LTI\ToolProvider\$details, ILIAS\LTI\ToolProvider\$key, $path, $request, $results, $toolbar, $tree, $ui, ilObjSurvey\_getQuestionblock(), ilLink\_getStaticLink(), SurveyQuestion\_instanciateQuestionEvaluation(), ILIAS\Repository\access(), checkAnonymizedEvaluationAccess(), ILIAS\Repository\ctrl(), ilObjSurvey\EVALUATION_ACCESS_ALL, ilObjSurvey\EVALUATION_ACCESS_OFF, ilObjSurvey\EVALUATION_ACCESS_PARTICIPANTS, ilDatePresentation\formatDate(), ilTree\getPathFull(), hasResultsAccess(), IL_CAL_UNIX, ILIAS\Repository\lng(), ilObjSurvey\MODE_IND_FEEDB, ILIAS\Repository\object(), ilDatePresentation\setUseRelativeDates(), and ILIAS\Repository\user().
Referenced by checkEvaluationAccess(), evaluationdetails(), and openEvaluation().
|
protected |
Show the detailed evaluation.
Definition at line 284 of file class.ilSurveyEvaluationGUI.php.
References evaluation().
Referenced by openEvaluation().
ilSurveyEvaluationGUI::evaluationuser | ( | ) |
Print the survey evaluation for a selected user.
Definition at line 1065 of file class.ilSurveyEvaluationGUI.php.
References $appr_id, $data, $toolbar, buildExportModal(), ILIAS\Repository\ctrl(), getAppraiseeId(), ilLinkButton\getInstance(), hasResultsAccess(), ILIAS\Repository\lng(), ilObjSurvey\MODE_SELF_EVAL, and ILIAS\Repository\object().
ilSurveyEvaluationGUI::executeCommand | ( | ) |
Definition at line 117 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\object(), and setEvalSubtabs().
ilSurveyEvaluationGUI::exportCumulatedResults | ( | int | $details = 0 | ) |
Definition at line 289 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\LTI\ToolProvider\$details, $type, SurveyQuestion\_instanciateQuestionEvaluation(), ILIAS\Repository\ctrl(), ilUtil\deliverData(), exit, exportResultsDetailsExcel(), ilFileUtils\getASCIIFilename(), ILIAS\Repository\lng(), ILIAS\Repository\object(), processCSVRow(), and TYPE_SPSS.
Referenced by exportData(), and exportDetailData().
ilSurveyEvaluationGUI::exportData | ( | ) |
Definition at line 621 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\ctrl(), and exportCumulatedResults().
ilSurveyEvaluationGUI::exportDetailData | ( | ) |
Definition at line 630 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\ctrl(), and exportCumulatedResults().
ilSurveyEvaluationGUI::exportEvaluationUser | ( | ) |
Definition at line 913 of file class.ilSurveyEvaluationGUI.php.
References $rows, SurveyQuestion\_instanciateQuestionEvaluation(), ILIAS\Repository\ctrl(), ilUtil\deliverData(), exit, ilDatePresentation\formatDate(), ilFileUtils\getASCIIFilename(), IL_CAL_UNIX, ILIAS\Repository\lng(), ILIAS\Repository\object(), processCSVRow(), ilDatePresentation\setUseRelativeDates(), and TYPE_SPSS.
|
protected |
Export details (excel only)
ilSurveyEvaluationResults | array | $a_results |
Definition at line 416 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\LTI\ToolProvider\$key, SurveyQuestion\_getQuestionTypeName(), ilExcel\addSheet(), ilExcel\getCoordByColumnAndRow(), SurveyQuestionEvaluation\getExportGrid(), SurveyQuestionEvaluation\getTextAnswers(), ILIAS\Repository\lng(), parseResultsToExcel(), ilExcel\setBold(), ilExcel\setCell(), and ilExcel\setColors().
Referenced by exportCumulatedResults().
ilSurveyEvaluationGUI::getAppraiseeId | ( | ) |
Definition at line 193 of file class.ilSurveyEvaluationGUI.php.
References $appr_id.
Referenced by competenceEval(), and evaluationuser().
|
protected |
Definition at line 1289 of file class.ilSurveyEvaluationGUI.php.
References SurveyQuestion\_instanciateQuestionEvaluation(), ILIAS\Repository\int(), and ILIAS\Repository\object().
Referenced by sumscore().
|
protected |
Check if user can view results granted by rbac or positions.
Definition at line 1247 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\access(), and ILIAS\Repository\object().
Referenced by evaluation(), evaluationuser(), setEvalSubtabs(), and sumscore().
|
protected |
Definition at line 691 of file class.ilSurveyEvaluationGUI.php.
References competenceEval(), evaluation(), evaluationdetails(), ilObjSurvey\MODE_IND_FEEDB, and ILIAS\Repository\object().
|
protected |
Definition at line 537 of file class.ilSurveyEvaluationGUI.php.
References $cols, ILIAS\LTI\ToolProvider\$key, ilSurveyEvaluationResults\getMean(), ilSurveyEvaluationResults\getMedian(), ilSurveyEvaluationResults\getMedianAsText(), ilSurveyEvaluationResults\getModeNrOfSelections(), ilSurveyEvaluationResults\getModeValue(), ilSurveyEvaluationResults\getModeValueAsText(), ILIAS\Repository\lng(), ilExcel\setCell(), and ilExcel\setColors().
Referenced by exportResultsDetailsExcel().
ilSurveyEvaluationGUI::printEvaluation | ( | ) |
Definition at line 639 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilSurveyEvaluationGUI::printResultsDetails | ( | ) |
Definition at line 1342 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\object().
ilSurveyEvaluationGUI::printResultsDetailsSelection | ( | ) |
Definition at line 1326 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\object().
ilSurveyEvaluationGUI::printResultsOverviewSelection | ( | ) |
Definition at line 1317 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\object().
ilSurveyEvaluationGUI::printResultsPerUser | ( | ) |
Definition at line 1357 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\object().
ilSurveyEvaluationGUI::printResultsPerUserSelection | ( | ) |
Definition at line 1351 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\object().
ilSurveyEvaluationGUI::processCSVRow | ( | array | $row, |
bool | $quoteAll = false , |
||
string | $separator = ";" |
||
) |
Processes an array as a CSV row and converts the array values to correct CSV values.
The "converted" array is returned
array | $row | The array containing the values for a CSV row |
bool | $quoteAll | Indicates to quote every value (=TRUE) or only values containing quotes and separators (=FALSE, default) |
string | $separator | The value separator in the CSV row (used for quoting) (; = default) |
Definition at line 881 of file class.ilSurveyEvaluationGUI.php.
Referenced by exportCumulatedResults(), and exportEvaluationUser().
ilSurveyEvaluationGUI::setAppraiseeId | ( | int | $a_val | ) |
Definition at line 187 of file class.ilSurveyEvaluationGUI.php.
Referenced by __construct().
ilSurveyEvaluationGUI::setEvalSubtabs | ( | ) |
Set the tabs for the evaluation output.
Definition at line 142 of file class.ilSurveyEvaluationGUI.php.
References $tabs, ILIAS\Repository\ctrl(), hasResultsAccess(), ilObjSurvey\MODE_IND_FEEDB, and ILIAS\Repository\object().
Referenced by executeCommand().
ilSurveyEvaluationGUI::sumscore | ( | ) |
Show sum score table.
Definition at line 1255 of file class.ilSurveyEvaluationGUI.php.
References $toolbar, buildExportModal(), ILIAS\Repository\ctrl(), ilLinkButton\getInstance(), getSumScores(), hasResultsAccess(), ILIAS\Repository\lng(), ilObjSurvey\MODE_SELF_EVAL, ILIAS\Repository\object(), and ilSumScoreTableGUI\setSumScores().
|
protected |
Definition at line 44 of file class.ilSurveyEvaluationGUI.php.
|
protected |
Definition at line 32 of file class.ilSurveyEvaluationGUI.php.
|
protected |
Definition at line 53 of file class.ilSurveyEvaluationGUI.php.
Referenced by evaluation(), evaluationuser(), and getAppraiseeId().
|
protected |
Definition at line 38 of file class.ilSurveyEvaluationGUI.php.
|
protected |
Definition at line 52 of file class.ilSurveyEvaluationGUI.php.
Referenced by cancelEvaluationAccess(), and competenceEval().
|
protected |
Definition at line 42 of file class.ilSurveyEvaluationGUI.php.
|
protected |
Definition at line 37 of file class.ilSurveyEvaluationGUI.php.
|
protected |
Definition at line 50 of file class.ilSurveyEvaluationGUI.php.
Referenced by __construct(), and competenceEval().
|
protected |
Definition at line 40 of file class.ilSurveyEvaluationGUI.php.
|
protected |
Definition at line 49 of file class.ilSurveyEvaluationGUI.php.
Referenced by competenceEval().
|
protected |
Definition at line 33 of file class.ilSurveyEvaluationGUI.php.
|
protected |
Definition at line 46 of file class.ilSurveyEvaluationGUI.php.
|
protected |
Definition at line 55 of file class.ilSurveyEvaluationGUI.php.
Referenced by evaluation().
|
protected |
Definition at line 56 of file class.ilSurveyEvaluationGUI.php.
|
protected |
Definition at line 43 of file class.ilSurveyEvaluationGUI.php.
Referenced by competenceEval(), and setEvalSubtabs().
|
protected |
Definition at line 48 of file class.ilSurveyEvaluationGUI.php.
Referenced by competenceEval(), evaluation(), evaluationuser(), and sumscore().
|
protected |
Definition at line 51 of file class.ilSurveyEvaluationGUI.php.
Referenced by __construct(), buildExportModal(), and competenceEval().
|
protected |
Definition at line 47 of file class.ilSurveyEvaluationGUI.php.
Referenced by cancelEvaluationAccess(), and evaluation().
|
protected |
Definition at line 41 of file class.ilSurveyEvaluationGUI.php.
Referenced by evaluation().
|
protected |
Definition at line 54 of file class.ilSurveyEvaluationGUI.php.
|
protected |
Definition at line 45 of file class.ilSurveyEvaluationGUI.php.
Referenced by checkAnonymizedEvaluationAccess().
const ilSurveyEvaluationGUI::EXCEL_SUBTITLE = "DDDDDD" |
Definition at line 31 of file class.ilSurveyEvaluationGUI.php.
const ilSurveyEvaluationGUI::TYPE_SPSS = "csv" |
Definition at line 30 of file class.ilSurveyEvaluationGUI.php.
Referenced by ILIAS\Survey\Mode\AbstractUIModifier\buildExportModal().
const ilSurveyEvaluationGUI::TYPE_XLS = "excel" |
Definition at line 29 of file class.ilSurveyEvaluationGUI.php.
Referenced by ILIAS\Survey\Mode\AbstractUIModifier\buildExportModal().