| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
Output class for assessment test evaluation. More...
 Inheritance diagram for ilTestEvaluationGUI:
 Collaboration diagram for ilTestEvaluationGUI:Public Member Functions | |
| __construct (ilObjTest $object) | |
| getTestAccess () | |
| setTestAccess ($testAccess) | |
| executeCommand () | |
| getEvaluationQuestionId ($question_id, $original_id='') | |
| Returns the ID of a question for evaluation purposes.  More... | |
| printResults () | |
| showResults () | |
| outUserPassDetails () | |
| outUserResultsOverview () | |
| outUserListOfAnswerPasses () | |
| outCertificate () | |
| confirmDeletePass () | |
| cancelDeletePass () | |
| performDeletePass () | |
  Public Member Functions inherited from ilTestServiceGUI | |
| isContextResultPresentation () | |
| setContextResultPresentation (bool $contextResultPresentation) | |
| setParticipantData (ilTestParticipantData $participantData) | |
| getParticipantData () | |
| getPassOverviewTableData (ilTestSession $test_session, array $passes, bool $with_results) | |
| setObjectiveOrientedContainer (ilTestObjectiveOrientedContainer $objective_oriented_container) | |
| getObjectiveOrientedContainer () | |
| executeCommand () | |
| execute command  More... | |
| buildPassOverviewTableGUI (ilTestEvaluationGUI $target_gui) | |
| getPassListOfAnswers (&$result_array, $active_id, $pass, $show_solutions=false, $only_answered_questions=false, $show_question_only=false, $show_reached_points=false, $anchorNav=false, ilTestQuestionRelatedObjectivesList $objectives_list=null, ResultsTitlesBuilder $testResultHeaderLabelBuilder=null) | |
| Returns the list of answers of a users test pass.  More... | |
| getResultsSignature () | |
| Returns HTML code for a signature field.  More... | |
| getAdditionalUsrDataHtmlAndPopulateWindowTitle ($testSession, $active_id, $overwrite_anonymity=false) | |
| Returns the user data for a test results output.  More... | |
| getCorrectSolutionOutput ($question_id, $active_id, $pass, ilTestQuestionRelatedObjectivesList $objectives_list=null) | |
| Returns an output of the solution to an answer compared to the correct solution.  More... | |
| getObject () | |
Protected Member Functions | |
| setCss () | |
| redirectBackToParticipantsScreen () | |
| sendPage (string $page) | |
| buildResultsTitle (string $fullname, int $pass) | |
  Protected Member Functions inherited from ilTestServiceGUI | |
| getPassDetailsOverviewTableGUI (array $result_array, int $active_id, int $pass, ilTestServiceGUI $target_gui, string $target_cmd, ilTestQuestionRelatedObjectivesList $objectives_list=null, bool $multiple_objectives_involved=true) | |
| buildPassDetailsOverviewTableGUI (ilTestServiceGUI $target_gui, string $target_cmd) | |
| isGradingMessageRequired () | |
| getGradingMessageBuilder (int $active_id) | |
| buildQuestionRelatedObjectivesList (ilLOTestQuestionAdapter $objectives_adapter, ilTestQuestionSequence $test_sequence) | |
| populateContent (string $content) | |
| outCorrectSolutionCmd () | |
| outCorrectSolution () | |
| populatePassFinishDate (ilTemplate $tpl, ?int $pass_finish_date) | |
| populateExamId (ilTemplate $tpl, int $active_id, int $pass) | |
Private Member Functions | |
| redirectToPassDeletionContext (string $context) | |
| buildAttemptComponents (int $active_id, int $attempt_id, bool $with_test_results_overview, bool $for_print) | |
| addPrintResultsButtonToToolbar () | |
| addPrintButtonToToolbar () | |
| addCertificateDownloadButtonToToolbar () | |
| addToggleBestSolutionButtonToToolbar () | |
| addParticipantSelectorToToolbar (array $selected_active_ids, int $current_active_id) | |
| buildParticipantSelectorArray (array $selected_active_ids, int $current_active_id) | |
| addAttemptSwitchingViewControlToToolbar (array $available_attempts, int $selected_attempt) | |
| buildAttemptSwitchingViewControl (array $available_attempts, int $selected_attempt) | |
Private Attributes | |
| const | DEFAULT_CMD = 'outUserListOfAnswerPasses' | 
Output class for assessment test evaluation.
The ilTestEvaluationGUI class creates the output for the ilObjTestGUI class when authors evaluate a test. This saves some heap space because the ilObjTestGUI class will be much smaller then
\
ilTestEvaluationGUI: ilTestPassDetailsOverviewTableGUI ilTestEvaluationGUI: ilTestPassDeletionConfirmationGUI
Definition at line 46 of file class.ilTestEvaluationGUI.php.
| ilTestEvaluationGUI::__construct | ( | ilObjTest | $object | ) | 
Definition at line 52 of file class.ilTestEvaluationGUI.php.
References ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\Repository\access().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 989 of file class.ilTestEvaluationGUI.php.
References buildAttemptSwitchingViewControl(), ILIAS\Repository\ctrl(), and ILIAS\Repository\toolbar().
Referenced by outUserListOfAnswerPasses().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 918 of file class.ilTestEvaluationGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\toolbar().
Referenced by outUserPassDetails(), and outUserResultsOverview().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 955 of file class.ilTestEvaluationGUI.php.
References buildParticipantSelectorArray(), ILIAS\Repository\lng(), and ILIAS\Repository\toolbar().
Referenced by showResults().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 904 of file class.ilTestEvaluationGUI.php.
References $id, ILIAS\Repository\lng(), ILIAS\Repository\toolbar(), and ILIAS\UI\Implementation\Component\withOnLoadCode().
Referenced by outUserListOfAnswerPasses(), outUserPassDetails(), and outUserResultsOverview().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 889 of file class.ilTestEvaluationGUI.php.
References $id, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\toolbar(), and ILIAS\UI\Implementation\Component\withOnLoadCode().
Referenced by showResults().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 928 of file class.ilTestEvaluationGUI.php.
References ILIAS\Repository\ctrl(), ilSession\get(), ILIAS\Repository\lng(), ilSession\set(), and ILIAS\Repository\toolbar().
Referenced by showResults().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 816 of file class.ilTestEvaluationGUI.php.
References $id, ilTestServiceGUI\$settings, ILIAS\Repository\lng(), and ILIAS\Repository\user().
Referenced by printResults(), and showResults().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 1003 of file class.ilTestEvaluationGUI.php.
References $c, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by addAttemptSwitchingViewControlToToolbar(), and showResults().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 968 of file class.ilTestEvaluationGUI.php.
References ilObjUser\_lookupFullname(), ILIAS\Repository\ctrl(), and ILIAS\Repository\object().
Referenced by addParticipantSelectorToToolbar().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 801 of file class.ilTestEvaluationGUI.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by outUserPassDetails(), printResults(), and showResults().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilTestEvaluationGUI::cancelDeletePass | ( | ) | 
Definition at line 560 of file class.ilTestEvaluationGUI.php.
References redirectToPassDeletionContext().
 Here is the call graph for this function:| ilTestEvaluationGUI::confirmDeletePass | ( | ) | 
Definition at line 542 of file class.ilTestEvaluationGUI.php.
References $context, ilTestPassDeletionConfirmationGUI\CONTEXT_PASS_OVERVIEW, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and redirectToPassDeletionContext().
 Here is the call graph for this function:| ilTestEvaluationGUI::executeCommand | ( | ) | 
Definition at line 73 of file class.ilTestEvaluationGUI.php.
References ILIAS\Repository\ctrl().
 Here is the call graph for this function:| ilTestEvaluationGUI::getEvaluationQuestionId | ( | $question_id, | |
$original_id = ''  | 
        |||
| ) | 
Returns the ID of a question for evaluation purposes.
If a question id and the id of the original question are given, this function returns the original id, otherwise the question id
Definition at line 105 of file class.ilTestEvaluationGUI.php.
| ilTestEvaluationGUI::getTestAccess | ( | ) | 
| ilTestEvaluationGUI::outCertificate | ( | ) | 
Definition at line 528 of file class.ilTestEvaluationGUI.php.
References ilCertificatePdfAction\downloadPdf(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), and ILIAS\Repository\user().
 Here is the call graph for this function:| ilTestEvaluationGUI::outUserListOfAnswerPasses | ( | ) | 
Definition at line 426 of file class.ilTestEvaluationGUI.php.
References $user_id, ilObjTest\_getResultPass(), addAttemptSwitchingViewControlToToolbar(), addPrintButtonToToolbar(), ilTestServiceGUI\buildQuestionRelatedObjectivesList(), ILIAS\Repository\ctrl(), ilTestServiceGUI\getAdditionalUsrDataHtmlAndPopulateWindowTitle(), ilLOTestQuestionAdapter\getInstance(), ilTestServiceGUI\getObjectiveOrientedContainer(), ilTestServiceGUI\getPassListOfAnswers(), ilTestServiceGUI\getResultsSignature(), ILIAS\Repository\lng(), ilObjTest\lookupExamId(), ILIAS\Repository\object(), ilTestServiceGUI\setContextResultPresentation(), setCss(), and ILIAS\Repository\user().
 Here is the call graph for this function:| ilTestEvaluationGUI::outUserPassDetails | ( | ) | 
Definition at line 220 of file class.ilTestEvaluationGUI.php.
References $data, ilTestServiceGUI\$settings, ilTestServiceGUI\$tpl, $user_id, addCertificateDownloadButtonToToolbar(), addPrintButtonToToolbar(), ilTestServiceGUI\buildQuestionRelatedObjectivesList(), buildResultsTitle(), ILIAS\Repository\ctrl(), ilGlobalTemplateInterface\get(), ilObjStyleSheet\getContentStylePath(), ilTestServiceGUI\getGradingMessageBuilder(), ilLOTestQuestionAdapter\getInstance(), ilTestServiceGUI\getObjectiveOrientedContainer(), ilTestServiceGUI\getResultsSignature(), ilTestServiceGUI\isGradingMessageRequired(), ILIAS\Repository\lng(), ilObjTest\lookupExamId(), ILIAS\Repository\object(), ilGlobalTemplateInterface\parseCurrentBlock(), ilTestServiceGUI\populateExamId(), ilTestServiceGUI\populatePassFinishDate(), setCss(), ilGlobalTemplateInterface\setCurrentBlock(), ilGlobalTemplateInterface\setVariable(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().
 Here is the call graph for this function:| ilTestEvaluationGUI::outUserResultsOverview | ( | ) | 
Definition at line 341 of file class.ilTestEvaluationGUI.php.
References $user_id, addCertificateDownloadButtonToToolbar(), addPrintButtonToToolbar(), ilTestServiceGUI\buildPassOverviewTableGUI(), ILIAS\Repository\ctrl(), ilTestServiceGUI\getAdditionalUsrDataHtmlAndPopulateWindowTitle(), ilTestServiceGUI\getGradingMessageBuilder(), ilTestServiceGUI\getObjectiveOrientedContainer(), ilTestServiceGUI\getPassOverviewTableData(), ilTestServiceGUI\isGradingMessageRequired(), ILIAS\Repository\lng(), ILIAS\Repository\object(), setCss(), and ILIAS\Repository\user().
 Here is the call graph for this function:| ilTestEvaluationGUI::performDeletePass | ( | ) | 
Definition at line 578 of file class.ilTestEvaluationGUI.php.
References $context, ilTestServiceGUI\$db, $ilDB, ilObjTest\_getResultPass(), ilTestPassDeletionConfirmationGUI\CONTEXT_PASS_OVERVIEW, ILIAS\Repository\ctrl(), ILIAS\Repository\object(), and redirectToPassDeletionContext().
 Here is the call graph for this function:| ilTestEvaluationGUI::printResults | ( | ) | 
Definition at line 123 of file class.ilTestEvaluationGUI.php.
References $components, $id, ilObjTest\_getResultPass(), ilObjUser\_lookupFullname(), buildAttemptComponents(), buildResultsTitle(), ILIAS\Repository\ctrl(), ILIAS\Repository\int(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 787 of file class.ilTestEvaluationGUI.php.
References ILIAS\Repository\ctrl().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 565 of file class.ilTestEvaluationGUI.php.
References ilTestPassDeletionConfirmationGUI\CONTEXT_INFO_SCREEN, ilTestPassDeletionConfirmationGUI\CONTEXT_PASS_OVERVIEW, and ILIAS\Repository\ctrl().
Referenced by cancelDeletePass(), confirmDeletePass(), and performDeletePass().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 792 of file class.ilTestEvaluationGUI.php.
References ILIAS\FileDelivery\http().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 114 of file class.ilTestEvaluationGUI.php.
References ilObjStyleSheet\getContentStylePath(), ilUtil\getStyleSheetLocation(), and ILIAS\Repository\object().
Referenced by outUserListOfAnswerPasses(), outUserPassDetails(), and outUserResultsOverview().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilTestEvaluationGUI::setTestAccess | ( | $testAccess | ) | 
| ilTestEvaluationGUI::showResults | ( | ) | 
Definition at line 162 of file class.ilTestEvaluationGUI.php.
References ilObjTest\_getResultPass(), ilObjUser\_lookupFullname(), addParticipantSelectorToToolbar(), addPrintResultsButtonToToolbar(), addToggleBestSolutionButtonToToolbar(), buildAttemptComponents(), buildAttemptSwitchingViewControl(), buildResultsTitle(), ILIAS\Repository\ctrl(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\tabs().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 50 of file class.ilTestEvaluationGUI.php.
      
  | 
  protected | 
Definition at line 49 of file class.ilTestEvaluationGUI.php.
Referenced by getTestAccess(), and setTestAccess().
      
  | 
  private | 
Definition at line 48 of file class.ilTestEvaluationGUI.php.