|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Survey evaluation graphical output. More...
Collaboration diagram for ilSurveyEvaluationGUI:Public Member Functions | |
| __construct ($a_object) | |
| ilSurveyEvaluationGUI constructor More... | |
| executeCommand () | |
| execute command More... | |
| getCommand ($cmd) | |
| setEvalSubtabs () | |
| Set the tabs for the evaluation output. More... | |
| setAppraiseeId ($a_val) | |
| Set appraisee id. More... | |
| getAppraiseeId () | |
| Get appraisee id. More... | |
| determineAppraiseeId () | |
| Determine appraisee id. More... | |
| checkAnonymizedEvaluationAccess () | |
| Show the detailed evaluation. More... | |
| 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... | |
| evaluationdetails () | |
| Show the detailed evaluation. More... | |
| exportCumulatedResults ($details=0) | |
| exportData () | |
| exportDetailData () | |
| printEvaluation () | |
| evaluation ($details=0) | |
| addApprSelectionToToolbar () | |
| Add appraisee selection to toolbar. More... | |
| processCSVRow ($row, $quoteAll=false, $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 () | |
| Competence Evaluation. More... | |
Data Fields | |
| const | TYPE_XLS = "excel" |
| const | TYPE_SPSS = "csv" |
| const | EXCEL_SUBTITLE = "DDDDDD" |
| $object | |
| $lng | |
| $tpl | |
| $ctrl | |
| $appr_id = null | |
Protected Member Functions | |
| exportResultsDetailsExcel (ilExcel $a_excel, SurveyQuestionEvaluation $a_eval, $a_results, $a_do_title, $a_do_label) | |
| Export details (excel only) More... | |
| parseResultsToExcel (ilExcel $a_excel, ilSurveyEvaluationResults $a_results, &$a_excel_row, array $a_grid=null, array $a_text_answers=null, $a_include_mode=true) | |
| buildExportModal ($a_id, $a_cmd) | |
| renderDetails ($a_details_parts, $a_details_figure, array $a_qdata, SurveyQuestionEvaluation $a_eval, $a_results) | |
| Render details. More... | |
| filterSurveyParticipantsByAccess ($a_finished_ids) | |
| parseUserSpecificResults (array $a_finished_ids=null) | |
| hasResultsAccess () | |
| Check if user can view results granted by rbac or positions. More... | |
Protected Attributes | |
| $tabs | |
| $access | |
| $user | |
| $rbacsystem | |
| $tree | |
| $toolbar | |
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 15 of file class.ilSurveyEvaluationGUI.php.
| ilSurveyEvaluationGUI::__construct | ( | $a_object | ) |
ilSurveyEvaluationGUI constructor
The constructor takes possible arguments an creates an instance of the ilSurveyEvaluationGUI object.
| object | $a_object | Associated ilObjSurvey class @access public |
Definition at line 66 of file class.ilSurveyEvaluationGUI.php.
References $DIC, $ilCtrl, $lng, $tpl, determineAppraiseeId(), ilLoggerFactory\getLogger(), ilObjSurvey\MODE_SELF_EVAL, and user().
Here is the call graph for this function:| ilSurveyEvaluationGUI::addApprSelectionToToolbar | ( | ) |
Add appraisee selection to toolbar.
return
Definition at line 1111 of file class.ilSurveyEvaluationGUI.php.
References $appr_id, PHPMailer\PHPMailer\$options, $rbacsystem, $toolbar, ilObjUser\_lookupId(), getAppraiseeId(), ilSubmitButton\getInstance(), ilObjSurvey\MODE_360, ilObjSurvey\MODE_SELF_EVAL, ilObjSurvey\RESULTS_360_ALL, ilObjSurvey\RESULTS_SELF_EVAL_ALL, and ilUtil\sendFailure().
Referenced by competenceEval(), evaluation(), and evaluationuser().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 689 of file class.ilSurveyEvaluationGUI.php.
References $form, $format, $tpl, ilModalGUI\getInstance(), and TYPE_SPSS.
Referenced by evaluation(), and evaluationuser().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSurveyEvaluationGUI::cancelEvaluationAccess | ( | ) |
Cancels the input of the survey access code for evaluation access.
Cancels the input of the survey access code for evaluation access
@access private
Definition at line 313 of file class.ilSurveyEvaluationGUI.php.
References $ctrl, $ilCtrl, $path, and $tree.
Referenced by checkEvaluationAccess().
Here is the caller graph for this function:| ilSurveyEvaluationGUI::checkAnonymizedEvaluationAccess | ( | ) |
Show the detailed evaluation.
Show the detailed evaluation
@access private
Definition at line 237 of file class.ilSurveyEvaluationGUI.php.
References $_GET, $_SESSION, $ilUser, $user, ilObjSurveyAccess\_hasEvaluationAccess(), and ilObject\_lookupObjId().
Referenced by evaluation().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSurveyEvaluationGUI::checkEvaluationAccess | ( | ) |
Checks the evaluation access after entering the survey access code.
Checks the evaluation access after entering the survey access code
@access private
Definition at line 294 of file class.ilSurveyEvaluationGUI.php.
References $_GET, $_POST, $_SESSION, cancelEvaluationAccess(), evaluation(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilSurveyEvaluationGUI::competenceEval | ( | ) |
Competence Evaluation.
return
Definition at line 1519 of file class.ilSurveyEvaluationGUI.php.
References $_GET, $_POST, $appr_id, $ctrl, $html, $id, $ilCtrl, $ilUser, $lng, $object, $tabs, $toolbar, $tpl, $user, addApprSelectionToToolbar(), getAppraiseeId(), ilSkillProfile\getProfilesOfUser(), and ilObjSurvey\MODE_SELF_EVAL.
Here is the call graph for this function:| ilSurveyEvaluationGUI::determineAppraiseeId | ( | ) |
Determine appraisee id.
Definition at line 188 of file class.ilSurveyEvaluationGUI.php.
References $appr_id, $ilUser, $rbacsystem, $user, $valid, ilObjSurvey\RESULTS_360_ALL, and setAppraiseeId().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSurveyEvaluationGUI::evaluation | ( | $details = 0 | ) |
Definition at line 731 of file class.ilSurveyEvaluationGUI.php.
References $_POST, $appr_id, $data, $key, $list, $path, $rbacsystem, $results, $toolbar, $tree, ilObjSurvey\_getQuestionblock(), ilLink\_getStaticLink(), SurveyQuestion\_instanciateQuestionEvaluation(), addApprSelectionToToolbar(), buildExportModal(), checkAnonymizedEvaluationAccess(), ilObjSurvey\EVALUATION_ACCESS_ALL, ilObjSurvey\EVALUATION_ACCESS_OFF, ilObjSurvey\EVALUATION_ACCESS_PARTICIPANTS, ilDatePresentation\formatDate(), getAppraiseeId(), ilLinkButton\getInstance(), ilSubmitButton\getInstance(), hasResultsAccess(), IL_CAL_UNIX, renderDetails(), ilUtil\sendFailure(), and ilDatePresentation\setUseRelativeDates().
Referenced by checkEvaluationAccess(), and evaluationdetails().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSurveyEvaluationGUI::evaluationdetails | ( | ) |
Show the detailed evaluation.
Show the detailed evaluation
@access private
Definition at line 333 of file class.ilSurveyEvaluationGUI.php.
References evaluation().
Here is the call graph for this function:| ilSurveyEvaluationGUI::evaluationuser | ( | ) |
Print the survey evaluation for a selected user.
Print the survey evaluation for a selected user
@access private
Definition at line 1365 of file class.ilSurveyEvaluationGUI.php.
References $access, $appr_id, $data, $toolbar, addApprSelectionToToolbar(), buildExportModal(), getAppraiseeId(), ilLinkButton\getInstance(), hasResultsAccess(), ilObjSurvey\MODE_SELF_EVAL, parseUserSpecificResults(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilSurveyEvaluationGUI::executeCommand | ( | ) |
execute command
Definition at line 96 of file class.ilSurveyEvaluationGUI.php.
References $ret, and getCommand().
Here is the call graph for this function:| ilSurveyEvaluationGUI::exportCumulatedResults | ( | $details = 0 | ) |
Definition at line 338 of file class.ilSurveyEvaluationGUI.php.
References $_POST, $appr_id, $row, $type, SurveyQuestion\_instanciateQuestionEvaluation(), ilUtil\deliverData(), exit, exportResultsDetailsExcel(), ilUtil\getASCIIFilename(), processCSVRow(), TYPE_SPSS, and TYPE_XLS.
Referenced by exportData(), and exportDetailData().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSurveyEvaluationGUI::exportData | ( | ) |
Definition at line 663 of file class.ilSurveyEvaluationGUI.php.
References $_POST, and exportCumulatedResults().
Here is the call graph for this function:| ilSurveyEvaluationGUI::exportDetailData | ( | ) |
Definition at line 673 of file class.ilSurveyEvaluationGUI.php.
References $_POST, and exportCumulatedResults().
Here is the call graph for this function:| ilSurveyEvaluationGUI::exportEvaluationUser | ( | ) |
Definition at line 1206 of file class.ilSurveyEvaluationGUI.php.
References $_POST, $appr_id, $row, $rows, $user, SurveyQuestion\_instanciateQuestionEvaluation(), ilUtil\deliverData(), exit, filterSurveyParticipantsByAccess(), ilDatePresentation\formatDate(), ilUtil\getASCIIFilename(), IL_CAL_UNIX, processCSVRow(), ilDatePresentation\setUseRelativeDates(), TYPE_SPSS, and TYPE_XLS.
Here is the call graph for this function:
|
protected |
Export details (excel only)
| ilExcel | $a_excel | |
| SurveyQuestionEvaluation | $a_eval | |
| ilSurveyEvaluationResults | array | $a_results | |
| bool | $a_do_title | |
| bool | array | $a_do_label |
Definition at line 469 of file class.ilSurveyEvaluationGUI.php.
References $key, $matrix, SurveyQuestion\_getQuestionTypeName(), ilExcel\addSheet(), EXCEL_SUBTITLE, ilExcel\getCoordByColumnAndRow(), SurveyQuestionEvaluation\getExportGrid(), SurveyQuestionEvaluation\getTextAnswers(), parseResultsToExcel(), ilExcel\setBold(), ilExcel\setCell(), and ilExcel\setColors().
Referenced by exportCumulatedResults().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1429 of file class.ilSurveyEvaluationGUI.php.
Referenced by exportEvaluationUser(), and parseUserSpecificResults().
Here is the caller graph for this function:| ilSurveyEvaluationGUI::getAppraiseeId | ( | ) |
Get appraisee id.
Definition at line 180 of file class.ilSurveyEvaluationGUI.php.
References $appr_id.
Referenced by addApprSelectionToToolbar(), competenceEval(), evaluation(), and evaluationuser().
Here is the caller graph for this function:| ilSurveyEvaluationGUI::getCommand | ( | $cmd | ) |
Definition at line 118 of file class.ilSurveyEvaluationGUI.php.
Referenced by executeCommand().
Here is the caller graph for this function:
|
protected |
Check if user can view results granted by rbac or positions.
Definition at line 1660 of file class.ilSurveyEvaluationGUI.php.
Referenced by evaluation(), evaluationuser(), and setEvalSubtabs().
Here is the caller graph for this function:
|
protected |
Definition at line 585 of file class.ilSurveyEvaluationGUI.php.
References $cols, $key, EXCEL_SUBTITLE, ilSurveyEvaluationResults\getMean(), ilSurveyEvaluationResults\getMedian(), ilSurveyEvaluationResults\getMedianAsText(), ilSurveyEvaluationResults\getModeNrOfSelections(), ilSurveyEvaluationResults\getModeValue(), ilSurveyEvaluationResults\getModeValueAsText(), ilExcel\setCell(), and ilExcel\setColors().
Referenced by exportResultsDetailsExcel().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1458 of file class.ilSurveyEvaluationGUI.php.
References $data, $user, SurveyQuestion\_instanciateQuestionEvaluation(), and filterSurveyParticipantsByAccess().
Referenced by evaluationuser().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSurveyEvaluationGUI::printEvaluation | ( | ) |
Definition at line 683 of file class.ilSurveyEvaluationGUI.php.
References ilUtil\sendInfo().
Here is the call graph for this function:| ilSurveyEvaluationGUI::processCSVRow | ( | $row, | |
$quoteAll = false, |
|||
$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 |
| string | $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 1176 of file class.ilSurveyEvaluationGUI.php.
References $row.
Referenced by exportCumulatedResults(), and exportEvaluationUser().
Here is the caller graph for this function:
|
protected |
Render details.
| string | $a_details_parts | |
| string | $a_details_figure | @param___ ilTemplate $a_tpl |
| array | $a_qdata | |
| SurveyQuestionEvaluation | $a_eval | |
| ilSurveyEvaluationResults | array | $a_results |
Definition at line 956 of file class.ilSurveyEvaluationGUI.php.
References $cols, $grid, $key, $list, $matrix, $r, $title, SurveyQuestion\_getQuestionTypeName(), SurveyQuestionEvaluation\getChart(), SurveyQuestionEvaluation\getGrid(), and SurveyQuestionEvaluation\getTextAnswers().
Referenced by evaluation().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSurveyEvaluationGUI::setAppraiseeId | ( | $a_val | ) |
Set appraisee id.
| int | $a_val | appraisee id |
Definition at line 170 of file class.ilSurveyEvaluationGUI.php.
Referenced by determineAppraiseeId().
Here is the caller graph for this function:| ilSurveyEvaluationGUI::setEvalSubtabs | ( | ) |
Set the tabs for the evaluation output.
@access private
Definition at line 128 of file class.ilSurveyEvaluationGUI.php.
References $access, $tabs, and hasResultsAccess().
Here is the call graph for this function:
|
protected |
Definition at line 25 of file class.ilSurveyEvaluationGUI.php.
Referenced by evaluationuser(), and setEvalSubtabs().
| ilSurveyEvaluationGUI::$appr_id = null |
Definition at line 56 of file class.ilSurveyEvaluationGUI.php.
Referenced by addApprSelectionToToolbar(), competenceEval(), determineAppraiseeId(), evaluation(), evaluationuser(), exportCumulatedResults(), exportEvaluationUser(), and getAppraiseeId().
| ilSurveyEvaluationGUI::$ctrl |
Definition at line 55 of file class.ilSurveyEvaluationGUI.php.
Referenced by cancelEvaluationAccess(), and competenceEval().
| ilSurveyEvaluationGUI::$lng |
Definition at line 53 of file class.ilSurveyEvaluationGUI.php.
Referenced by __construct(), and competenceEval().
| ilSurveyEvaluationGUI::$object |
Definition at line 52 of file class.ilSurveyEvaluationGUI.php.
Referenced by competenceEval().
|
protected |
Definition at line 35 of file class.ilSurveyEvaluationGUI.php.
Referenced by addApprSelectionToToolbar(), determineAppraiseeId(), and evaluation().
|
protected |
Definition at line 20 of file class.ilSurveyEvaluationGUI.php.
Referenced by competenceEval(), and setEvalSubtabs().
|
protected |
Definition at line 45 of file class.ilSurveyEvaluationGUI.php.
Referenced by addApprSelectionToToolbar(), competenceEval(), evaluation(), and evaluationuser().
| ilSurveyEvaluationGUI::$tpl |
Definition at line 54 of file class.ilSurveyEvaluationGUI.php.
Referenced by __construct(), buildExportModal(), and competenceEval().
|
protected |
Definition at line 40 of file class.ilSurveyEvaluationGUI.php.
Referenced by cancelEvaluationAccess(), and evaluation().
|
protected |
Definition at line 30 of file class.ilSurveyEvaluationGUI.php.
Referenced by checkAnonymizedEvaluationAccess(), competenceEval(), determineAppraiseeId(), exportEvaluationUser(), and parseUserSpecificResults().
| const ilSurveyEvaluationGUI::EXCEL_SUBTITLE = "DDDDDD" |
Definition at line 50 of file class.ilSurveyEvaluationGUI.php.
Referenced by exportResultsDetailsExcel(), and parseResultsToExcel().
| const ilSurveyEvaluationGUI::TYPE_SPSS = "csv" |
Definition at line 48 of file class.ilSurveyEvaluationGUI.php.
Referenced by exportCumulatedResults(), and exportEvaluationUser().
| const ilSurveyEvaluationGUI::TYPE_XLS = "excel" |
Definition at line 47 of file class.ilSurveyEvaluationGUI.php.
Referenced by exportCumulatedResults(), and exportEvaluationUser().