ILIAS
Release_5_0_x_branch Revision 61816
|
Survey evaluation graphical output. More...
Public Member Functions | |
ilSurveyEvaluationGUI ($a_object) | |
ilSurveyEvaluationGUI constructor | |
& | executeCommand () |
execute command | |
getCommand ($cmd) | |
setEvalSubtabs () | |
Set the tabs for the evaluation output. | |
setAppraiseeId ($a_val) | |
Set appraisee id. | |
getAppraiseeId () | |
Get appraisee id. | |
determineAppraiseeId () | |
Determine appraisee id. | |
checkAnonymizedEvaluationAccess () | |
Show the detailed evaluation. | |
checkEvaluationAccess () | |
Checks the evaluation access after entering the survey access code. | |
cancelEvaluationAccess () | |
Cancels the input of the survey access code for evaluation access. | |
evaluationdetails () | |
Show the detailed evaluation. | |
exportCumulatedResults ($details=0) | |
exportData () | |
exportDetailData () | |
printEvaluation () | |
evaluation ($details=0) | |
addApprSelectionToToolbar () | |
Add appraisee selection to toolbar. | |
exportUserSpecificResults ($export_format, $export_label, $finished_ids) | |
Export the user specific results for the survey. | |
exportEvaluationUser () | |
evaluationuser () | |
Print the survey evaluation for a selected user. | |
competenceEval () | |
Competence Evaluation. |
Data Fields | |
const | TYPE_XLS = "excel" |
const | TYPE_SPSS = "csv" |
$object | |
$lng | |
$tpl | |
$ctrl | |
$appr_id = null |
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::addApprSelectionToToolbar | ( | ) |
Add appraisee selection to toolbar.
@return |
Definition at line 671 of file class.ilSurveyEvaluationGUI.php.
References $appr_id, $options, getAppraiseeId(), ilSubmitButton\getInstance(), ilObjSurvey\RESULTS_360_ALL, ilUtil\sendFailure(), and ilSelectInputGUI\setOptions().
Referenced by competenceEval(), evaluation(), and evaluationuser().
ilSurveyEvaluationGUI::cancelEvaluationAccess | ( | ) |
Cancels the input of the survey access code for evaluation access.
Cancels the input of the survey access code for evaluation access
private
Definition at line 288 of file class.ilSurveyEvaluationGUI.php.
References $ilCtrl, and $path.
Referenced by checkEvaluationAccess().
ilSurveyEvaluationGUI::checkAnonymizedEvaluationAccess | ( | ) |
Show the detailed evaluation.
Show the detailed evaluation
private
Definition at line 204 of file class.ilSurveyEvaluationGUI.php.
References $_GET, $_SESSION, $ilUser, ilObjSurveyAccess\_hasEvaluationAccess(), and ilObject\_lookupObjId().
Referenced by evaluation().
ilSurveyEvaluationGUI::checkEvaluationAccess | ( | ) |
Checks the evaluation access after entering the survey access code.
Checks the evaluation access after entering the survey access code
private
Definition at line 266 of file class.ilSurveyEvaluationGUI.php.
References $_GET, $_POST, $_SESSION, cancelEvaluationAccess(), evaluation(), and ilUtil\sendFailure().
ilSurveyEvaluationGUI::competenceEval | ( | ) |
Competence Evaluation.
@return |
Definition at line 1158 of file class.ilSurveyEvaluationGUI.php.
References $_GET, $_POST, $appr_id, $ilCtrl, $ilUser, $lng, $object, $tpl, addApprSelectionToToolbar(), getAppraiseeId(), ilSkillProfile\getProfilesOfUser(), and ilSelectInputGUI\setOptions().
ilSurveyEvaluationGUI::determineAppraiseeId | ( | ) |
Determine appraisee id.
Definition at line 149 of file class.ilSurveyEvaluationGUI.php.
References $_REQUEST, $appr_id, $ilUser, $valid, ilObjSurvey\RESULTS_360_ALL, and setAppraiseeId().
Referenced by ilSurveyEvaluationGUI().
ilSurveyEvaluationGUI::evaluation | ( | $details = 0 | ) |
Definition at line 526 of file class.ilSurveyEvaluationGUI.php.
References $_GET, $appr_id, SurveyQuestion\_instanciateQuestionGUI(), addApprSelectionToToolbar(), checkAnonymizedEvaluationAccess(), ilObjSurvey\EVALUATION_ACCESS_ALL, ilObjSurvey\EVALUATION_ACCESS_OFF, ilObjSurvey\EVALUATION_ACCESS_PARTICIPANTS, getAppraiseeId(), ilSubmitButton\getInstance(), ilUtil\sendFailure(), and TYPE_SPSS.
Referenced by checkEvaluationAccess(), and evaluationdetails().
ilSurveyEvaluationGUI::evaluationdetails | ( | ) |
Show the detailed evaluation.
Show the detailed evaluation
private
Definition at line 307 of file class.ilSurveyEvaluationGUI.php.
References evaluation().
ilSurveyEvaluationGUI::evaluationuser | ( | ) |
Print the survey evaluation for a selected user.
Print the survey evaluation for a selected user
private
Definition at line 1017 of file class.ilSurveyEvaluationGUI.php.
References $appr_id, $results, addApprSelectionToToolbar(), getAppraiseeId(), ilSubmitButton\getInstance(), ilLinkButton\getInstance(), ilObjSurvey\getSurveySkippedValue(), ilUtil\sendFailure(), ilTable2GUI\setData(), and TYPE_SPSS.
& ilSurveyEvaluationGUI::executeCommand | ( | ) |
execute command
Definition at line 51 of file class.ilSurveyEvaluationGUI.php.
References $cmd, $ret, and getCommand().
ilSurveyEvaluationGUI::exportCumulatedResults | ( | $details = 0 | ) |
Definition at line 312 of file class.ilSurveyEvaluationGUI.php.
References $_POST, $_REQUEST, $appr_id, $separator, ilExcelUtils\_convert_text(), SurveyQuestion\_instanciateQuestion(), ilUtil\deliverData(), ilUtil\deliverFile(), exit, ilUtil\getASCIIFilename(), ilUtil\ilTempnam(), and TYPE_SPSS.
Referenced by exportData(), and exportDetailData().
ilSurveyEvaluationGUI::exportData | ( | ) |
Definition at line 494 of file class.ilSurveyEvaluationGUI.php.
References $_POST, and exportCumulatedResults().
ilSurveyEvaluationGUI::exportDetailData | ( | ) |
Definition at line 507 of file class.ilSurveyEvaluationGUI.php.
References $_POST, and exportCumulatedResults().
ilSurveyEvaluationGUI::exportEvaluationUser | ( | ) |
Definition at line 990 of file class.ilSurveyEvaluationGUI.php.
References $_POST, $_REQUEST, $appr_id, and exportUserSpecificResults().
ilSurveyEvaluationGUI::exportUserSpecificResults | ( | $export_format, | |
$export_label, | |||
$finished_ids | |||
) |
Export the user specific results for the survey.
Export the user specific results for the survey
private
Definition at line 733 of file class.ilSurveyEvaluationGUI.php.
References $_POST, $ilLog, $row, $separator, ilExcelUtils\_convert_text(), SurveyQuestion\_instanciateQuestion(), ilUtil\deliverData(), ilUtil\deliverFile(), ilUtil\excelTime(), exit, ilDatePresentation\formatDate(), ilUtil\getASCIIFilename(), IL_CAL_UNIX, ilUtil\ilTempnam(), ilDatePresentation\setUseRelativeDates(), and TYPE_SPSS.
Referenced by exportEvaluationUser().
ilSurveyEvaluationGUI::getAppraiseeId | ( | ) |
Get appraisee id.
Definition at line 141 of file class.ilSurveyEvaluationGUI.php.
References $appr_id.
Referenced by addApprSelectionToToolbar(), competenceEval(), evaluation(), and evaluationuser().
ilSurveyEvaluationGUI::getCommand | ( | $cmd | ) |
Definition at line 77 of file class.ilSurveyEvaluationGUI.php.
References $cmd.
Referenced by executeCommand().
ilSurveyEvaluationGUI::ilSurveyEvaluationGUI | ( | $a_object | ) |
ilSurveyEvaluationGUI constructor
The constructor takes possible arguments an creates an instance of the ilSurveyEvaluationGUI object.
object | $a_object | Associated ilObjSurvey class public |
Definition at line 34 of file class.ilSurveyEvaluationGUI.php.
References $ilCtrl, $lng, $tpl, and determineAppraiseeId().
ilSurveyEvaluationGUI::printEvaluation | ( | ) |
Definition at line 520 of file class.ilSurveyEvaluationGUI.php.
References ilUtil\sendInfo().
ilSurveyEvaluationGUI::setAppraiseeId | ( | $a_val | ) |
Set appraisee id.
int | $a_val | appraisee id |
Definition at line 131 of file class.ilSurveyEvaluationGUI.php.
Referenced by determineAppraiseeId().
ilSurveyEvaluationGUI::setEvalSubtabs | ( | ) |
Set the tabs for the evaluation output.
private
Definition at line 87 of file class.ilSurveyEvaluationGUI.php.
ilSurveyEvaluationGUI::$appr_id = null |
Definition at line 24 of file class.ilSurveyEvaluationGUI.php.
Referenced by addApprSelectionToToolbar(), competenceEval(), determineAppraiseeId(), evaluation(), evaluationuser(), exportCumulatedResults(), exportEvaluationUser(), and getAppraiseeId().
ilSurveyEvaluationGUI::$ctrl |
Definition at line 23 of file class.ilSurveyEvaluationGUI.php.
ilSurveyEvaluationGUI::$lng |
Definition at line 21 of file class.ilSurveyEvaluationGUI.php.
Referenced by competenceEval(), and ilSurveyEvaluationGUI().
ilSurveyEvaluationGUI::$object |
Definition at line 20 of file class.ilSurveyEvaluationGUI.php.
Referenced by competenceEval().
ilSurveyEvaluationGUI::$tpl |
Definition at line 22 of file class.ilSurveyEvaluationGUI.php.
Referenced by competenceEval(), and ilSurveyEvaluationGUI().
const ilSurveyEvaluationGUI::TYPE_SPSS = "csv" |
Definition at line 18 of file class.ilSurveyEvaluationGUI.php.
const ilSurveyEvaluationGUI::TYPE_XLS = "excel" |
Definition at line 17 of file class.ilSurveyEvaluationGUI.php.