ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Survey evaluation graphical output. 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, int $question_index) | |
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) | |
buildExportButtonAndModal (string $export_cmd) | |
getExportModal () | |
validateAndSubmitExportForm () | |
openEvaluation () | |
hasResultsAccess () | |
Check if user can view results granted by rbac or positions. More... | |
getSumScores (?array $a_finished_ids=null) | |
Protected Attributes | |
ILIAS Survey InternalGUIService | $gui |
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 |
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 30 of file class.ilSurveyEvaluationGUI.php.
ilSurveyEvaluationGUI::__construct | ( | ilObjSurvey | $a_object | ) |
Definition at line 62 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 |
Definition at line 644 of file class.ilSurveyEvaluationGUI.php.
References $ctrl, $lng, $toolbar, ilToolbarGUI\addComponent(), getExportModal(), ilCtrl\setParameter(), and ilLanguage\txt().
Referenced by evaluationuser().
ilSurveyEvaluationGUI::cancelEvaluationAccess | ( | ) |
Cancels the input of the survey access code for evaluation access.
Definition at line 265 of file class.ilSurveyEvaluationGUI.php.
References $ctrl, $path, $tree, ilTree\getPathFull(), and ILIAS\Repository\object().
Referenced by checkEvaluationAccess().
ilSurveyEvaluationGUI::checkAnonymizedEvaluationAccess | ( | ) |
Definition at line 203 of file class.ilSurveyEvaluationGUI.php.
References $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 250 of file class.ilSurveyEvaluationGUI.php.
References cancelEvaluationAccess(), evaluation(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
ilSurveyEvaluationGUI::competenceEval | ( | ) |
Definition at line 1179 of file class.ilSurveyEvaluationGUI.php.
References $ctrl, $id, $lng, $object, $tabs, $toolbar, $tpl, ILIAS\Repository\ctrl(), getAppraiseeId(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ilObjSurvey\MODE_IND_FEEDB, ILIAS\Repository\object(), ILIAS\UICore\GlobalTemplate\setContent(), ilSelectInputGUI\setOptions(), ilLanguage\txt(), and ILIAS\Repository\user().
Referenced by openEvaluation().
ilSurveyEvaluationGUI::evaluation | ( | int | $details = 0 | ) |
Definition at line 767 of file class.ilSurveyEvaluationGUI.php.
References $appr_id, $data, $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(), ILIAS\Repository\ui(), and ILIAS\Repository\user().
Referenced by checkEvaluationAccess(), evaluationdetails(), openEvaluation(), and validateAndSubmitExportForm().
|
protected |
Show the detailed evaluation.
Definition at line 281 of file class.ilSurveyEvaluationGUI.php.
References evaluation().
Referenced by openEvaluation(), and validateAndSubmitExportForm().
ilSurveyEvaluationGUI::evaluationuser | ( | ) |
Print the survey evaluation for a selected user.
Definition at line 1139 of file class.ilSurveyEvaluationGUI.php.
References $appr_id, $data, $toolbar, buildExportButtonAndModal(), ILIAS\Repository\ctrl(), getAppraiseeId(), hasResultsAccess(), ILIAS\Repository\lng(), ilObjSurvey\MODE_SELF_EVAL, null, and ILIAS\Repository\object().
Referenced by validateAndSubmitExportForm().
ilSurveyEvaluationGUI::executeCommand | ( | ) |
Definition at line 122 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\object(), and setEvalSubtabs().
ilSurveyEvaluationGUI::exportCumulatedResults | ( | int | $details = 0 | ) |
Definition at line 286 of file class.ilSurveyEvaluationGUI.php.
References SurveyQuestion\_instanciateQuestionEvaluation(), ILIAS\Repository\ctrl(), ilUtil\deliverData(), exit, exportResultsDetailsExcel(), ilFileUtils\getASCIIFilename(), ILIAS\Repository\lng(), null, ILIAS\Repository\object(), and processCSVRow().
Referenced by exportData(), and exportDetailData().
ilSurveyEvaluationGUI::exportData | ( | ) |
Definition at line 620 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\ctrl(), and exportCumulatedResults().
ilSurveyEvaluationGUI::exportDetailData | ( | ) |
Definition at line 629 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\ctrl(), and exportCumulatedResults().
ilSurveyEvaluationGUI::exportEvaluationUser | ( | ) |
Definition at line 987 of file class.ilSurveyEvaluationGUI.php.
References $user_id, SurveyQuestion\_instanciateQuestionEvaluation(), ILIAS\Repository\ctrl(), ilUtil\deliverData(), exit, ilDatePresentation\formatDate(), ilFileUtils\getASCIIFilename(), IL_CAL_UNIX, ILIAS\Repository\lng(), null, ILIAS\Repository\object(), processCSVRow(), and ilDatePresentation\setUseRelativeDates().
|
protected |
Export details (excel only)
ilSurveyEvaluationResults | array | $a_results |
Definition at line 414 of file class.ilSurveyEvaluationGUI.php.
References SurveyQuestion\_getQuestionTypeName(), ilExcel\addSheet(), ilExcel\getCoordByColumnAndRow(), SurveyQuestionEvaluation\getExportGrid(), SurveyQuestionEvaluation\getTextAnswers(), ILIAS\Repository\lng(), null, parseResultsToExcel(), ilExcel\setBold(), ilExcel\setCell(), and ilExcel\setColors().
Referenced by exportCumulatedResults().
ilSurveyEvaluationGUI::getAppraiseeId | ( | ) |
Definition at line 198 of file class.ilSurveyEvaluationGUI.php.
References $appr_id.
Referenced by competenceEval(), and evaluationuser().
|
protected |
Definition at line 663 of file class.ilSurveyEvaluationGUI.php.
References $ctrl, ILIAS\UI\Implementation\Component\Input\$inputs, $lng, ilCtrl\getFormAction(), null, ilLanguage\txt(), TYPE_SPSS, and TYPE_XLS.
Referenced by buildExportButtonAndModal(), and validateAndSubmitExportForm().
|
protected |
Definition at line 1348 of file class.ilSurveyEvaluationGUI.php.
References SurveyQuestion\_instanciateQuestionEvaluation(), ILIAS\Repository\int(), null, and ILIAS\Repository\object().
Referenced by sumscore().
|
protected |
Check if user can view results granted by rbac or positions.
Definition at line 1314 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\access(), and ILIAS\Repository\object().
Referenced by evaluation(), evaluationuser(), setEvalSubtabs(), and sumscore().
|
protected |
Definition at line 753 of file class.ilSurveyEvaluationGUI.php.
References competenceEval(), evaluation(), evaluationdetails(), ilObjSurvey\MODE_IND_FEEDB, and ILIAS\Repository\object().
|
protected |
Definition at line 536 of file class.ilSurveyEvaluationGUI.php.
References ilSurveyEvaluationResults\getMean(), ilSurveyEvaluationResults\getMedian(), ilSurveyEvaluationResults\getMedianAsText(), ilSurveyEvaluationResults\getModeNrOfSelections(), ilSurveyEvaluationResults\getModeValue(), ilSurveyEvaluationResults\getModeValueAsText(), ILIAS\Repository\lng(), null, ilExcel\setCell(), and ilExcel\setColors().
Referenced by exportResultsDetailsExcel().
ilSurveyEvaluationGUI::printEvaluation | ( | ) |
Definition at line 638 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilSurveyEvaluationGUI::printResultsDetails | ( | ) |
Definition at line 1401 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\object().
ilSurveyEvaluationGUI::printResultsDetailsSelection | ( | ) |
Definition at line 1385 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\object().
ilSurveyEvaluationGUI::printResultsOverviewSelection | ( | ) |
Definition at line 1376 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\object().
ilSurveyEvaluationGUI::printResultsPerUser | ( | ) |
Definition at line 1416 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\object().
ilSurveyEvaluationGUI::printResultsPerUserSelection | ( | ) |
Definition at line 1410 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 953 of file class.ilSurveyEvaluationGUI.php.
Referenced by exportCumulatedResults(), and exportEvaluationUser().
ilSurveyEvaluationGUI::setAppraiseeId | ( | int | $a_val | ) |
Definition at line 192 of file class.ilSurveyEvaluationGUI.php.
Referenced by __construct().
ilSurveyEvaluationGUI::setEvalSubtabs | ( | ) |
Set the tabs for the evaluation output.
Definition at line 147 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 1322 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\ctrl(), getSumScores(), hasResultsAccess(), ILIAS\Repository\lng(), ilObjSurvey\MODE_SELF_EVAL, null, ILIAS\Repository\object(), and ilSumScoreTableGUI\setSumScores().
|
protected |
Definition at line 703 of file class.ilSurveyEvaluationGUI.php.
References $ctrl, $data, $lng, $request, $tabs, $toolbar, ilTabsGUI\activateSubTab(), ilToolbarGUI\addComponent(), evaluation(), evaluationdetails(), evaluationuser(), getExportModal(), ilCtrl\redirect(), and ilCtrl\setParameter().
|
protected |
Definition at line 48 of file class.ilSurveyEvaluationGUI.php.
|
protected |
Definition at line 36 of file class.ilSurveyEvaluationGUI.php.
|
protected |
Definition at line 57 of file class.ilSurveyEvaluationGUI.php.
Referenced by evaluation(), evaluationuser(), and getAppraiseeId().
|
protected |
Definition at line 42 of file class.ilSurveyEvaluationGUI.php.
|
protected |
Definition at line 56 of file class.ilSurveyEvaluationGUI.php.
Referenced by buildExportButtonAndModal(), cancelEvaluationAccess(), competenceEval(), getExportModal(), and validateAndSubmitExportForm().
|
protected |
Definition at line 46 of file class.ilSurveyEvaluationGUI.php.
|
protected |
Definition at line 35 of file class.ilSurveyEvaluationGUI.php.
|
protected |
Definition at line 41 of file class.ilSurveyEvaluationGUI.php.
|
protected |
Definition at line 54 of file class.ilSurveyEvaluationGUI.php.
Referenced by __construct(), buildExportButtonAndModal(), competenceEval(), getExportModal(), and validateAndSubmitExportForm().
|
protected |
Definition at line 44 of file class.ilSurveyEvaluationGUI.php.
|
protected |
Definition at line 53 of file class.ilSurveyEvaluationGUI.php.
Referenced by competenceEval().
|
protected |
Definition at line 37 of file class.ilSurveyEvaluationGUI.php.
|
protected |
Definition at line 50 of file class.ilSurveyEvaluationGUI.php.
|
protected |
Definition at line 59 of file class.ilSurveyEvaluationGUI.php.
Referenced by evaluation(), and validateAndSubmitExportForm().
|
protected |
Definition at line 60 of file class.ilSurveyEvaluationGUI.php.
|
protected |
Definition at line 47 of file class.ilSurveyEvaluationGUI.php.
Referenced by competenceEval(), setEvalSubtabs(), and validateAndSubmitExportForm().
|
protected |
Definition at line 52 of file class.ilSurveyEvaluationGUI.php.
Referenced by buildExportButtonAndModal(), competenceEval(), evaluation(), evaluationuser(), and validateAndSubmitExportForm().
|
protected |
Definition at line 55 of file class.ilSurveyEvaluationGUI.php.
Referenced by __construct(), and competenceEval().
|
protected |
Definition at line 51 of file class.ilSurveyEvaluationGUI.php.
Referenced by cancelEvaluationAccess(), and evaluation().
|
protected |
Definition at line 45 of file class.ilSurveyEvaluationGUI.php.
Referenced by evaluation().
Definition at line 58 of file class.ilSurveyEvaluationGUI.php.
|
protected |
Definition at line 49 of file class.ilSurveyEvaluationGUI.php.
Referenced by checkAnonymizedEvaluationAccess().
const ilSurveyEvaluationGUI::EXCEL_SUBTITLE = "DDDDDD" |
Definition at line 34 of file class.ilSurveyEvaluationGUI.php.
const ilSurveyEvaluationGUI::TYPE_SPSS = "csv" |
Definition at line 33 of file class.ilSurveyEvaluationGUI.php.
Referenced by ILIAS\Survey\Mode\AbstractUIModifier\getExportModal(), and getExportModal().
const ilSurveyEvaluationGUI::TYPE_XLS = "excel" |
Definition at line 32 of file class.ilSurveyEvaluationGUI.php.
Referenced by ILIAS\Survey\Mode\AbstractUIModifier\getExportModal(), and getExportModal().