| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
 Collaboration diagram for ilSurveyEvaluationGUI: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) | |
| 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 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 | 
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 59 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().
 Here is the call graph for this function:
      
  | 
  protected | 
get modal html
| ilCtrlException | 
Definition at line 645 of file class.ilSurveyEvaluationGUI.php.
References $tpl, ilGlobalTemplateInterface\addOnLoadCode(), ILIAS\Repository\ctrl(), ilModalGUI\getInstance(), ILIAS\Repository\lng(), ilSelectInputGUI\setOptions(), and TYPE_SPSS.
Referenced by evaluationuser(), and sumscore().
 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.
Definition at line 262 of file class.ilSurveyEvaluationGUI.php.
References $ctrl, $path, $tree, ilTree\getPathFull(), and ILIAS\Repository\object().
Referenced by checkEvaluationAccess().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSurveyEvaluationGUI::checkAnonymizedEvaluationAccess | ( | ) | 
Definition at line 200 of file class.ilSurveyEvaluationGUI.php.
References $user, ilObjSurveyAccess\_hasEvaluationAccess(), ilObject\_lookupObjId(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
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.
Definition at line 247 of file class.ilSurveyEvaluationGUI.php.
References cancelEvaluationAccess(), evaluation(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
 Here is the call graph for this function:| ilSurveyEvaluationGUI::competenceEval | ( | ) | 
Definition at line 1120 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(), ilSelectInputGUI\setOptions(), ilLanguage\txt(), and ILIAS\Repository\user().
Referenced by openEvaluation().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSurveyEvaluationGUI::evaluation | ( | int | $details = 0 | ) | 
Definition at line 701 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(), ILIAS\Repository\ui(), and ILIAS\Repository\user().
Referenced by checkEvaluationAccess(), evaluationdetails(), and openEvaluation().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Show the detailed evaluation.
Definition at line 278 of file class.ilSurveyEvaluationGUI.php.
References evaluation().
Referenced by openEvaluation().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSurveyEvaluationGUI::evaluationuser | ( | ) | 
Print the survey evaluation for a selected user.
Definition at line 1071 of file class.ilSurveyEvaluationGUI.php.
References $appr_id, $data, $toolbar, buildExportModal(), ILIAS\Repository\ctrl(), getAppraiseeId(), hasResultsAccess(), ILIAS\Repository\lng(), ilObjSurvey\MODE_SELF_EVAL, and ILIAS\Repository\object().
 Here is the call graph for this function:| ilSurveyEvaluationGUI::executeCommand | ( | ) | 
Definition at line 119 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\object(), and setEvalSubtabs().
 Here is the call graph for this function:| ilSurveyEvaluationGUI::exportCumulatedResults | ( | int | $details = 0 | ) | 
Definition at line 283 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\LTI\ToolProvider\$details, 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().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSurveyEvaluationGUI::exportData | ( | ) | 
Definition at line 617 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\ctrl(), and exportCumulatedResults().
 Here is the call graph for this function:| ilSurveyEvaluationGUI::exportDetailData | ( | ) | 
Definition at line 626 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\ctrl(), and exportCumulatedResults().
 Here is the call graph for this function:| ilSurveyEvaluationGUI::exportEvaluationUser | ( | ) | 
Definition at line 919 of file class.ilSurveyEvaluationGUI.php.
References 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.
 Here is the call graph for this function:
      
  | 
  protected | 
Export details (excel only)
| ilSurveyEvaluationResults | array | $a_results | 
Definition at line 411 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().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSurveyEvaluationGUI::getAppraiseeId | ( | ) | 
Definition at line 195 of file class.ilSurveyEvaluationGUI.php.
References $appr_id.
Referenced by competenceEval(), and evaluationuser().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 1293 of file class.ilSurveyEvaluationGUI.php.
References SurveyQuestion\_instanciateQuestionEvaluation(), ILIAS\Repository\int(), and ILIAS\Repository\object().
Referenced by sumscore().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Check if user can view results granted by rbac or positions.
Definition at line 1252 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\access(), and ILIAS\Repository\object().
Referenced by evaluation(), evaluationuser(), setEvalSubtabs(), and sumscore().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 687 of file class.ilSurveyEvaluationGUI.php.
References competenceEval(), evaluation(), evaluationdetails(), ilObjSurvey\MODE_IND_FEEDB, and ILIAS\Repository\object().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 533 of file class.ilSurveyEvaluationGUI.php.
References 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().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSurveyEvaluationGUI::printEvaluation | ( | ) | 
Definition at line 635 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
 Here is the call graph for this function:| ilSurveyEvaluationGUI::printResultsDetails | ( | ) | 
Definition at line 1346 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\object().
 Here is the call graph for this function:| ilSurveyEvaluationGUI::printResultsDetailsSelection | ( | ) | 
Definition at line 1330 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\object().
 Here is the call graph for this function:| ilSurveyEvaluationGUI::printResultsOverviewSelection | ( | ) | 
Definition at line 1321 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\object().
 Here is the call graph for this function:| ilSurveyEvaluationGUI::printResultsPerUser | ( | ) | 
Definition at line 1361 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\object().
 Here is the call graph for this function:| ilSurveyEvaluationGUI::printResultsPerUserSelection | ( | ) | 
Definition at line 1355 of file class.ilSurveyEvaluationGUI.php.
References ILIAS\Repository\object().
 Here is the call graph for this function:| 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 885 of file class.ilSurveyEvaluationGUI.php.
Referenced by exportCumulatedResults(), and exportEvaluationUser().
 Here is the caller graph for this function:| ilSurveyEvaluationGUI::setAppraiseeId | ( | int | $a_val | ) | 
Definition at line 189 of file class.ilSurveyEvaluationGUI.php.
Referenced by __construct().
 Here is the caller graph for this function:| ilSurveyEvaluationGUI::setEvalSubtabs | ( | ) | 
Set the tabs for the evaluation output.
Definition at line 144 of file class.ilSurveyEvaluationGUI.php.
References $tabs, ILIAS\Repository\ctrl(), hasResultsAccess(), ilObjSurvey\MODE_IND_FEEDB, and ILIAS\Repository\object().
Referenced by executeCommand().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSurveyEvaluationGUI::sumscore | ( | ) | 
Show sum score table.
Definition at line 1260 of file class.ilSurveyEvaluationGUI.php.
References $toolbar, buildExportModal(), ILIAS\Repository\ctrl(), getSumScores(), hasResultsAccess(), ILIAS\Repository\lng(), ilObjSurvey\MODE_SELF_EVAL, ILIAS\Repository\object(), and ilSumScoreTableGUI\setSumScores().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 45 of file class.ilSurveyEvaluationGUI.php.
      
  | 
  protected | 
Definition at line 33 of file class.ilSurveyEvaluationGUI.php.
      
  | 
  protected | 
Definition at line 54 of file class.ilSurveyEvaluationGUI.php.
Referenced by evaluation(), evaluationuser(), and getAppraiseeId().
      
  | 
  protected | 
Definition at line 39 of file class.ilSurveyEvaluationGUI.php.
      
  | 
  protected | 
Definition at line 53 of file class.ilSurveyEvaluationGUI.php.
Referenced by cancelEvaluationAccess(), and competenceEval().
      
  | 
  protected | 
Definition at line 43 of file class.ilSurveyEvaluationGUI.php.
      
  | 
  protected | 
Definition at line 32 of file class.ilSurveyEvaluationGUI.php.
      
  | 
  protected | 
Definition at line 38 of file class.ilSurveyEvaluationGUI.php.
      
  | 
  protected | 
Definition at line 51 of file class.ilSurveyEvaluationGUI.php.
Referenced by __construct(), and competenceEval().
      
  | 
  protected | 
Definition at line 41 of file class.ilSurveyEvaluationGUI.php.
      
  | 
  protected | 
Definition at line 50 of file class.ilSurveyEvaluationGUI.php.
Referenced by competenceEval().
      
  | 
  protected | 
Definition at line 34 of file class.ilSurveyEvaluationGUI.php.
      
  | 
  protected | 
Definition at line 47 of file class.ilSurveyEvaluationGUI.php.
      
  | 
  protected | 
Definition at line 56 of file class.ilSurveyEvaluationGUI.php.
Referenced by evaluation().
      
  | 
  protected | 
Definition at line 57 of file class.ilSurveyEvaluationGUI.php.
      
  | 
  protected | 
Definition at line 44 of file class.ilSurveyEvaluationGUI.php.
Referenced by competenceEval(), and setEvalSubtabs().
      
  | 
  protected | 
Definition at line 49 of file class.ilSurveyEvaluationGUI.php.
Referenced by competenceEval(), evaluation(), evaluationuser(), and sumscore().
      
  | 
  protected | 
Definition at line 52 of file class.ilSurveyEvaluationGUI.php.
Referenced by __construct(), buildExportModal(), and competenceEval().
      
  | 
  protected | 
Definition at line 48 of file class.ilSurveyEvaluationGUI.php.
Referenced by cancelEvaluationAccess(), and evaluation().
      
  | 
  protected | 
Definition at line 42 of file class.ilSurveyEvaluationGUI.php.
Referenced by evaluation().
      
  | 
  protected | 
Definition at line 55 of file class.ilSurveyEvaluationGUI.php.
      
  | 
  protected | 
Definition at line 46 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().