ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Output class for assessment test evaluation. More...
Public Member Functions | |
__construct (ilObjTest $a_object) | |
ilTestEvaluationGUI constructor More... | |
getTestAccess () | |
setTestAccess ($testAccess) | |
executeCommand () | |
execute command More... | |
& | getHeaderNames () |
& | getHeaderVars () |
filterEvaluation () | |
resetfilterEvaluation () | |
outEvaluation () | |
Creates the evaluation output for the test. More... | |
detailedEvaluation () | |
Creates the detailed evaluation output for a selected participant. More... | |
exportQuestionForAllParticipants () | |
Creates a PDF representation of the answers for a given question in a test. More... | |
exportFileUploadsForAllParticipants () | |
Creates a ZIP file containing all file uploads for a given question in a test. More... | |
eval_a () | |
Output of anonymous aggregated results for the test. More... | |
exportEvaluation () | |
Exports the evaluation data to a selected file format. More... | |
exportAggregatedResults () | |
Exports the aggregated results. More... | |
exportCertificate () | |
Exports the user results as PDF certificates using XSL-FO via XML:RPC calls. More... | |
getEvaluationQuestionId ($question_id, $original_id="") | |
Returns the ID of a question for evaluation purposes. More... | |
outParticipantsPassDetails () | |
Output of the pass details of an existing test pass for the test statistics. More... | |
outParticipantsResultsOverview () | |
Output of the pass overview for a test called from the statistics. More... | |
outUserPassDetailsSetTableFilter () | |
outUserPassDetailsResetTableFilter () | |
outParticipantsPassDetailsSetTableFilter () | |
outParticipantsPassDetailsResetTableFilter () | |
outUserPassDetails () | |
Output of the pass details of an existing test pass for the active test participant. More... | |
outUserResultsOverview () | |
Output of the pass overview for a test called by a test participant. More... | |
outUserListOfAnswerPasses () | |
Output of the pass overview for a user when he/she wants to see his/her list of answers. More... | |
passDetails () | |
Output of the learners view of an existing test pass. More... | |
singleResults () | |
Creates user results for single questions. More... | |
outCertificate () | |
Output of a test certificate. More... | |
confirmDeletePass () | |
cancelDeletePass () | |
finishTestPassForSingleUser () | |
confirmFinishTestPassForUser () | |
finishAllUserPasses () | |
confirmFinishTestPassForAllUser () | |
Public Member Functions inherited from ilTestServiceGUI | |
isContextResultPresentation () | |
setContextResultPresentation ($contextResultPresentation) | |
__construct (ilObjTest $a_object) | |
The constructor takes the test object reference as parameter. More... | |
setParticipantData ($participantData) | |
getParticipantData () | |
getPassOverviewTableData (ilTestSession $testSession, $passes, $withResults) | |
setObjectiveOrientedContainer (ilTestObjectiveOrientedContainer $objectiveOrientedContainer) | |
getObjectiveOrientedContainer () | |
executeCommand () | |
execute command More... | |
getCommand ($cmd) | |
Retrieves the ilCtrl command. More... | |
buildPassOverviewTableGUI ($targetGUI) | |
getPassListOfAnswers (&$result_array, $active_id, $pass, $show_solutions=false, $only_answered_questions=false, $show_question_only=false, $show_reached_points=false, $anchorNav=false, ilTestQuestionRelatedObjectivesList $objectivesList=null, ilTestResultHeaderLabelBuilder $testResultHeaderLabelBuilder=null) | |
Returns the list of answers of a users test pass. More... | |
getPassListOfAnswersWithScoring (&$result_array, $active_id, $pass, $show_solutions=false) | |
Returns the list of answers of a users test pass and offers a scoring option. 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 $objectivesList=null) | |
Returns an output of the solution to an answer compared to the correct solution. More... | |
getResultsOfUserOutput ($testSession, $active_id, $pass, $targetGUI, $show_pass_details=true, $show_answers=true, $show_question_only=false, $show_reached_points=false) | |
Output of the pass overview for a test called by a test participant. More... | |
getResultsHeadUserAndPass ($active_id, $pass) | |
Returns the user and pass data for a test results output. More... | |
getQuestionResultForTestUsers ($question_id, $test_id) | |
Creates a HTML representation for the results of a given question in a test. More... | |
populatePassFinishDate ($tpl, $passFinishDate) | |
populateExamId (ilTemplate $tpl, int $activeId, int $pass) | |
Protected Member Functions | |
getFilteredTestResult ($active_id, $pass, $considerHiddenQuestions, $considerOptionalQuestions) | |
finishTestPass ($active_id, $obj_id) | |
redirectBackToParticipantsScreen () | |
Protected Member Functions inherited from ilTestServiceGUI | |
isPdfDeliveryRequest () | |
getPassDetailsOverviewTableGUI ($result_array, $active_id, $pass, $targetGUI, $targetCMD, $questionDetailsCMD, $questionAnchorNav, ilTestQuestionRelatedObjectivesList $objectivesList=null, $multipleObjectivesInvolved=true) | |
buildPassDetailsOverviewTableGUI ($targetGUI, $targetCMD) | |
isGradingMessageRequired () | |
getGradingMessageBuilder ($activeId) | |
buildQuestionRelatedObjectivesList (ilLOTestQuestionAdapter $objectivesAdapter, ilTestQuestionSequence $testSequence) | |
getFilteredTestResult ($active_id, $pass, $considerHiddenQuestions, $considerOptionalQuestions) | |
populateContent ($content) | |
buildUserTestResultsToolbarGUI () | |
outCorrectSolutionCmd () | |
outCorrectSolution () | |
Creates an output of the solution of an answer compared to the correct solution. More... | |
Protected Attributes | |
$testAccess | |
$processLockerFactory | |
Protected Attributes inherited from ilTestServiceGUI | |
$db | |
$tabs | |
$objCache | |
$testSessionFactory = null | |
$testSequenceFactory = null | |
$participantData | |
Private Member Functions | |
redirectToPassDeletionContext ($context) | |
Additional Inherited Members | |
Data Fields inherited from ilTestServiceGUI | |
$object = null | |
$service = null | |
$lng | |
$tpl | |
$ctrl | |
$ilias | |
$tree | |
$ref_id | |
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: ilTestResultsToolbarGUI ilTestEvaluationGUI: ilTestPassDeletionConfirmationGUI
Definition at line 28 of file class.ilTestEvaluationGUI.php.
ilTestEvaluationGUI::__construct | ( | ilObjTest | $a_object | ) |
ilTestEvaluationGUI constructor
The constructor takes possible arguments an creates an instance of the ilTestEvaluationGUI object.
Definition at line 48 of file class.ilTestEvaluationGUI.php.
References $DIC.
ilTestEvaluationGUI::cancelDeletePass | ( | ) |
Definition at line 1764 of file class.ilTestEvaluationGUI.php.
References $_POST, and redirectToPassDeletionContext().
ilTestEvaluationGUI::confirmDeletePass | ( | ) |
Definition at line 1742 of file class.ilTestEvaluationGUI.php.
References $_GET, $context, $DIC, ilTestServiceGUI\$tpl, ilTestPassDeletionConfirmationGUI\CONTEXT_PASS_OVERVIEW, and redirectToPassDeletionContext().
ilTestEvaluationGUI::confirmFinishTestPassForAllUser | ( | ) |
Definition at line 2165 of file class.ilTestEvaluationGUI.php.
References finishTestPass(), ilTestParticipantAccessFilter\getManageParticipantsUserFilter(), and redirectBackToParticipantsScreen().
ilTestEvaluationGUI::confirmFinishTestPassForUser | ( | ) |
Definition at line 2132 of file class.ilTestEvaluationGUI.php.
References $_GET, $DIC, ilTestServiceGUI\$participantData, finishTestPass(), ilTestParticipantAccessFilter\getManageParticipantsUserFilter(), and redirectBackToParticipantsScreen().
ilTestEvaluationGUI::detailedEvaluation | ( | ) |
Creates the detailed evaluation output for a selected participant.
Creates the detailed evaluation output for a selected participant
public
Definition at line 361 of file class.ilTestEvaluationGUI.php.
References $_GET, $data, $DIC, $form, $pass, $table, ilObjTestGUI\accessViolationRedirect(), ilDatePresentation\formatDate(), ilLinkButton\getInstance(), ilUtil\getStyleSheetLocation(), getTestAccess(), IL_CAL_UNIX, ilObjTest\lookupPassResultsUpdateTimestamp(), SCORE_BEST_PASS, ilUtil\sendInfo(), ilNonEditableValueGUI\setValue(), and ilTestTabsManager\TAB_ID_STATISTICS.
ilTestEvaluationGUI::eval_a | ( | ) |
Output of anonymous aggregated results for the test.
Output of anonymous aggregated results for the test
public
Definition at line 585 of file class.ilTestEvaluationGUI.php.
References $data, $DIC, $i, $rows, ilObjTestGUI\accessViolationRedirect(), ilSubmitButton\getInstance(), getTestAccess(), ilSelectInputGUI\setOptions(), and ilTestTabsManager\TAB_ID_STATISTICS.
ilTestEvaluationGUI::executeCommand | ( | ) |
execute command
Definition at line 80 of file class.ilTestEvaluationGUI.php.
References $ret, ilTestServiceGUI\getCommand(), and ilTestServiceGUI\isPdfDeliveryRequest().
ilTestEvaluationGUI::exportAggregatedResults | ( | ) |
Exports the aggregated results.
public
Definition at line 786 of file class.ilTestEvaluationGUI.php.
References $_POST.
ilTestEvaluationGUI::exportCertificate | ( | ) |
Exports the user results as PDF certificates using XSL-FO via XML:RPC calls.
public
Definition at line 808 of file class.ilTestEvaluationGUI.php.
References $certificate, $DIC, $factory, $name, $pdf, and ilUtil\getASCIIFilename().
ilTestEvaluationGUI::exportEvaluation | ( | ) |
Exports the evaluation data to a selected file format.
Definition at line 728 of file class.ilTestEvaluationGUI.php.
ilTestEvaluationGUI::exportFileUploadsForAllParticipants | ( | ) |
Creates a ZIP file containing all file uploads for a given question in a test.
Definition at line 563 of file class.ilTestEvaluationGUI.php.
References $_GET, and assQuestion\_instanciateQuestion().
ilTestEvaluationGUI::exportQuestionForAllParticipants | ( | ) |
Creates a PDF representation of the answers for a given question in a test.
Definition at line 554 of file class.ilTestEvaluationGUI.php.
References $_GET, and ilTestServiceGUI\getQuestionResultForTestUsers().
ilTestEvaluationGUI::filterEvaluation | ( | ) |
Definition at line 152 of file class.ilTestEvaluationGUI.php.
References ilObjTestGUI\accessViolationRedirect(), and getTestAccess().
ilTestEvaluationGUI::finishAllUserPasses | ( | ) |
Definition at line 2154 of file class.ilTestEvaluationGUI.php.
|
protected |
Definition at line 2186 of file class.ilTestEvaluationGUI.php.
Referenced by confirmFinishTestPassForAllUser(), and confirmFinishTestPassForUser().
ilTestEvaluationGUI::finishTestPassForSingleUser | ( | ) |
Definition at line 2096 of file class.ilTestEvaluationGUI.php.
References $_GET, $DIC, ilTestServiceGUI\$participantData, ilTestParticipantAccessFilter\getManageParticipantsUserFilter(), and redirectBackToParticipantsScreen().
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 867 of file class.ilTestEvaluationGUI.php.
|
protected |
Definition at line 2037 of file class.ilTestEvaluationGUI.php.
References $DIC, $ilDB, $pass, and ilTestServiceGUI\buildPassDetailsOverviewTableGUI().
Referenced by outParticipantsPassDetails(), and outUserPassDetails().
& ilTestEvaluationGUI::getHeaderNames | ( | ) |
Definition at line 103 of file class.ilTestEvaluationGUI.php.
& ilTestEvaluationGUI::getHeaderVars | ( | ) |
Definition at line 129 of file class.ilTestEvaluationGUI.php.
ilTestEvaluationGUI::getTestAccess | ( | ) |
Definition at line 64 of file class.ilTestEvaluationGUI.php.
References $testAccess.
Referenced by detailedEvaluation(), eval_a(), filterEvaluation(), outEvaluation(), outParticipantsPassDetails(), outParticipantsResultsOverview(), resetfilterEvaluation(), and singleResults().
ilTestEvaluationGUI::outCertificate | ( | ) |
Output of a test certificate.
Definition at line 1721 of file class.ilTestEvaluationGUI.php.
References $DIC, $user, and ilCertificatePdfAction\downloadPdf().
ilTestEvaluationGUI::outEvaluation | ( | ) |
Creates the evaluation output for the test.
public
Definition at line 184 of file class.ilTestEvaluationGUI.php.
References $data, $DIC, PHPMailer\PHPMailer\$options, ilTestServiceGUI\$participantData, ilObjUser\_lookupFields(), ilObjTestGUI\accessViolationRedirect(), ilTestParticipantAccessFilter\getAccessStatisticsUserFilter(), ilSubmitButton\getInstance(), ilUtil\getStyleSheetLocation(), getTestAccess(), ilTable2GUI\setData(), ilSelectInputGUI\setOptions(), and ilTestTabsManager\TAB_ID_STATISTICS.
ilTestEvaluationGUI::outParticipantsPassDetails | ( | ) |
Output of the pass details of an existing test pass for the test statistics.
Output of the pass details of an existing test pass for the test statistics
public
Definition at line 883 of file class.ilTestEvaluationGUI.php.
References $_GET, $_SESSION, $data, $DIC, $pass, $result, $template, ilObjTestGUI\accessViolationRedirect(), ilTestServiceGUI\buildQuestionRelatedObjectivesList(), ilTestServiceGUI\buildUserTestResultsToolbarGUI(), ilTestPDFGenerator\generatePDF(), ilTestServiceGUI\getAdditionalUsrDataHtmlAndPopulateWindowTitle(), getFilteredTestResult(), ilTestServiceGUI\getGradingMessageBuilder(), ilLOTestQuestionAdapter\getInstance(), ilTestServiceGUI\getObjectiveOrientedContainer(), ilTestServiceGUI\getPassDetailsOverviewTableGUI(), ilTestServiceGUI\getPassListOfAnswers(), ilUtil\getStyleSheetLocation(), getTestAccess(), ilTestServiceGUI\isGradingMessageRequired(), ilTestServiceGUI\isPdfDeliveryRequest(), ilObjTest\lookupLastTestPassAccess(), ilTestPDFGenerator\PDF_OUTPUT_DOWNLOAD, PDF_USER_RESULT, ilTestServiceGUI\populateExamId(), ilTestServiceGUI\populatePassFinishDate(), and ilPDFGeneratorUtils\prepareGenerationRequest().
Referenced by outParticipantsPassDetailsResetTableFilter(), and outParticipantsPassDetailsSetTableFilter().
ilTestEvaluationGUI::outParticipantsPassDetailsResetTableFilter | ( | ) |
Definition at line 1186 of file class.ilTestEvaluationGUI.php.
References ilTestServiceGUI\buildPassDetailsOverviewTableGUI(), and outParticipantsPassDetails().
ilTestEvaluationGUI::outParticipantsPassDetailsSetTableFilter | ( | ) |
Definition at line 1177 of file class.ilTestEvaluationGUI.php.
References ilTestServiceGUI\buildPassDetailsOverviewTableGUI(), and outParticipantsPassDetails().
ilTestEvaluationGUI::outParticipantsResultsOverview | ( | ) |
Output of the pass overview for a test called from the statistics.
public
Definition at line 1044 of file class.ilTestEvaluationGUI.php.
References $_GET, $DIC, $filename, $name, $template, ilObjTest\_getResultPass(), ilObjUser\_lookupName(), ilObjTestGUI\accessViolationRedirect(), ilTestServiceGUI\buildPassOverviewTableGUI(), ilTestServiceGUI\buildUserTestResultsToolbarGUI(), ilTestPDFGenerator\generatePDF(), ilTestServiceGUI\getAdditionalUsrDataHtmlAndPopulateWindowTitle(), ilTestServiceGUI\getGradingMessageBuilder(), ilTestServiceGUI\getObjectiveOrientedContainer(), ilTestServiceGUI\getPassOverviewTableData(), ilUtil\getStyleSheetLocation(), getTestAccess(), ilTestServiceGUI\isGradingMessageRequired(), ilTestServiceGUI\isPdfDeliveryRequest(), ilTestPDFGenerator\PDF_OUTPUT_DOWNLOAD, PDF_USER_RESULT, and ilPDFGeneratorUtils\prepareGenerationRequest().
ilTestEvaluationGUI::outUserListOfAnswerPasses | ( | ) |
Output of the pass overview for a user when he/she wants to see his/her list of answers.
Output of the pass overview for a user when he/she wants to see his/her list of answers
public
Definition at line 1516 of file class.ilTestEvaluationGUI.php.
References $_GET, $DIC, $ilUser, $pass, $template, ilTestServiceGUI\buildPassOverviewTableGUI(), ilTestServiceGUI\buildQuestionRelatedObjectivesList(), ilTestServiceGUI\getAdditionalUsrDataHtmlAndPopulateWindowTitle(), ilLOTestQuestionAdapter\getInstance(), ilTestServiceGUI\getObjectiveOrientedContainer(), ilTestServiceGUI\getPassListOfAnswers(), ilTestServiceGUI\getPassOverviewTableData(), ilTestServiceGUI\getResultsSignature(), ilUtil\getStyleSheetLocation(), ilObjTest\lookupExamId(), ilUtil\sendInfo(), and ilTestServiceGUI\setContextResultPresentation().
ilTestEvaluationGUI::outUserPassDetails | ( | ) |
Output of the pass details of an existing test pass for the active test participant.
public
Definition at line 1200 of file class.ilTestEvaluationGUI.php.
References $_GET, $data, $DIC, $ilUser, $pass, $result, ilTestServiceGUI\$tpl, ilTestServiceGUI\buildQuestionRelatedObjectivesList(), ilTestServiceGUI\buildUserTestResultsToolbarGUI(), ilTestPDFGenerator\generatePDF(), ilTestServiceGUI\getAdditionalUsrDataHtmlAndPopulateWindowTitle(), getFilteredTestResult(), ilTestServiceGUI\getGradingMessageBuilder(), ilLOTestQuestionAdapter\getInstance(), ilTestServiceGUI\getObjectiveOrientedContainer(), ilTestServiceGUI\getPassDetailsOverviewTableGUI(), ilTestServiceGUI\getPassListOfAnswers(), ilTestServiceGUI\getResultsSignature(), ilUtil\getStyleSheetLocation(), ilTestServiceGUI\isGradingMessageRequired(), ilTestServiceGUI\isPdfDeliveryRequest(), ilObjTest\lookupExamId(), ilObjTest\lookupLastTestPassAccess(), ilTestPDFGenerator\PDF_OUTPUT_DOWNLOAD, PDF_USER_RESULT, ilTestServiceGUI\populateExamId(), ilTestServiceGUI\populatePassFinishDate(), and ilPDFGeneratorUtils\prepareGenerationRequest().
Referenced by outUserPassDetailsResetTableFilter(), and outUserPassDetailsSetTableFilter().
ilTestEvaluationGUI::outUserPassDetailsResetTableFilter | ( | ) |
Definition at line 1168 of file class.ilTestEvaluationGUI.php.
References ilTestServiceGUI\buildPassDetailsOverviewTableGUI(), and outUserPassDetails().
ilTestEvaluationGUI::outUserPassDetailsSetTableFilter | ( | ) |
Definition at line 1159 of file class.ilTestEvaluationGUI.php.
References ilTestServiceGUI\buildPassDetailsOverviewTableGUI(), and outUserPassDetails().
ilTestEvaluationGUI::outUserResultsOverview | ( | ) |
Output of the pass overview for a test called by a test participant.
ilTabsGUI $ilTabs
Definition at line 1387 of file class.ilTestEvaluationGUI.php.
References $DIC, $ilUser, $template, ilTestServiceGUI\buildPassOverviewTableGUI(), ilTestServiceGUI\buildUserTestResultsToolbarGUI(), ilTestPDFGenerator\generatePDF(), ilTestServiceGUI\getAdditionalUsrDataHtmlAndPopulateWindowTitle(), ilTestServiceGUI\getGradingMessageBuilder(), ilTestServiceGUI\getObjectiveOrientedContainer(), ilTestServiceGUI\getPassOverviewTableData(), ilUtil\getStyleSheetLocation(), ilTestServiceGUI\isGradingMessageRequired(), ilTestServiceGUI\isPdfDeliveryRequest(), ilTestPDFGenerator\PDF_OUTPUT_DOWNLOAD, PDF_USER_RESULT, and ilPDFGeneratorUtils\prepareGenerationRequest().
ilTestEvaluationGUI::passDetails | ( | ) |
Output of the learners view of an existing test pass.
Output of the learners view of an existing test pass
public
Definition at line 1632 of file class.ilTestEvaluationGUI.php.
References $_GET.
|
protected |
Definition at line 2195 of file class.ilTestEvaluationGUI.php.
Referenced by confirmFinishTestPassForAllUser(), confirmFinishTestPassForUser(), and finishTestPassForSingleUser().
|
private |
Definition at line 1769 of file class.ilTestEvaluationGUI.php.
References $_POST, $_SESSION, $context, $DIC, $ilDB, $pass, $result, $row, $table, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), assQuestion\_updateTestResultCache(), ilTestPassDeletionConfirmationGUI\CONTEXT_DYN_TEST_PLAYER, ilTestPassDeletionConfirmationGUI\CONTEXT_INFO_SCREEN, ilTestPassDeletionConfirmationGUI\CONTEXT_PASS_OVERVIEW, and ilTestDynamicQuestionSetStatisticTableGUI\FILTERED_TABLE_ID.
Referenced by cancelDeletePass(), and confirmDeletePass().
ilTestEvaluationGUI::resetfilterEvaluation | ( | ) |
Definition at line 167 of file class.ilTestEvaluationGUI.php.
References ilObjTestGUI\accessViolationRedirect(), and getTestAccess().
ilTestEvaluationGUI::setTestAccess | ( | $testAccess | ) |
ilTestAccess | $testAccess |
Definition at line 72 of file class.ilTestEvaluationGUI.php.
References $testAccess.
ilTestEvaluationGUI::singleResults | ( | ) |
Creates user results for single questions.
Definition at line 1647 of file class.ilTestEvaluationGUI.php.
References $data, $DIC, $pass, $rows, assQuestion\_instanciateQuestion(), ilObjTestGUI\accessViolationRedirect(), getTestAccess(), ilUtil\sendInfo(), and ilTestTabsManager\TAB_ID_STATISTICS.
|
protected |
Definition at line 38 of file class.ilTestEvaluationGUI.php.
|
protected |
Definition at line 33 of file class.ilTestEvaluationGUI.php.
Referenced by getTestAccess(), and setTestAccess().