|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Output class for assessment test evaluation. More...
Inheritance diagram for ilTestEvaluationGUI:
Collaboration diagram for ilTestEvaluationGUI:Public Member Functions | |
| __construct (ilObjTest $a_object) | |
| ilTestEvaluationGUI constructor More... | |
| & | executeCommand () |
| execute command More... | |
| & | getHeaderNames () |
| & | getHeaderVars () |
| filterEvaluation () | |
| resetfilterEvaluation () | |
| 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... | |
| 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 () | |
| 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... | |
| outCorrectSolution () | |
| Creates an output of the solution of an answer compared to the correct solution. More... | |
| singleResults () | |
| Creates user results for single questions. More... | |
| outCertificate () | |
| Output of a test certificate. More... | |
| confirmDeletePass () | |
| cancelDeletePass () | |
Public Member Functions inherited from ilTestServiceGUI | |
| isContextWithinTestPass () | |
| setContextWithinTestPass ($contextWithinTestPass) | |
| ilTestServiceGUI (ilObjTest $a_object) | |
| The constructor takes the test object reference as parameter. More... | |
| setParticipantData ($participantData) | |
| getParticipantData () | |
| & | executeCommand () |
| execute command More... | |
| getCommand ($cmd) | |
| Retrieves the ilCtrl command. More... | |
| getPassOverview ($active_id, $targetclass="", $targetcommand="", $short=FALSE, $hide_details=FALSE, $adminMode=false) | |
| Returns the pass overview for a given active ID. More... | |
| getPassListOfAnswers (&$result_array, $active_id, $pass, $show_solutions=FALSE, $only_answered_questions=FALSE, $show_question_only=FALSE, $show_reached_points=FALSE, $anchorNav=false) | |
| 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... | |
| getResultsUserdata ($testSession, $active_id, $overwrite_anonymity=FALSE) | |
| Returns the user data for a test results output. More... | |
| getCorrectSolutionOutput ($question_id, $active_id, $pass) | |
| 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... | |
Protected Member Functions | |
| getFilteredTestResult ($active_id, $pass) | |
Protected Member Functions inherited from ilTestServiceGUI | |
| isPdfDeliveryRequest () | |
| getPassDetailsOverview ($result_array, $active_id, $pass, $targetGUI, $targetCMD, $questionDetailsCMD, $questionAnchorNav) | |
| buildPassDetailsOverviewTableGUI ($targetGUI, $targetCMD) | |
| isGradingMessageRequired () | |
| getGradingMessage ($activeId) | |
Private Member Functions | |
| redirectToPassDeletionContext ($context) | |
Additional Inherited Members | |
Data Fields inherited from ilTestServiceGUI | |
| $object = null | |
| $service = null | |
| $lng | |
| $tpl | |
| $ctrl | |
| $ilias | |
| $tree | |
| $ref_id | |
Protected Attributes inherited from ilTestServiceGUI | |
| $db | |
| $testSessionFactory = null | |
| $testSequenceFactory = null | |
| $participantData | |
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
@ilCtrl_Calls ilTestEvaluationGUI: ilTestPassDetailsOverviewTableGUI @ilCtrl_Calls ilTestEvaluationGUI: ilTestResultsToolbarGUI @ilCtrl_Calls ilTestEvaluationGUI: ilTestPassDeletionConfirmationGUI
Definition at line 27 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 37 of file class.ilTestEvaluationGUI.php.
| ilTestEvaluationGUI::cancelDeletePass | ( | ) |
Definition at line 1560 of file class.ilTestEvaluationGUI.php.
References $_POST, and redirectToPassDeletionContext().
Here is the call graph for this function:| ilTestEvaluationGUI::confirmDeletePass | ( | ) |
Definition at line 1535 of file class.ilTestEvaluationGUI.php.
References $_GET, ilTestServiceGUI\$tpl, and ilTestPassDeletionConfirmationGUI\CONTEXT_PASS_OVERVIEW.
| ilTestEvaluationGUI::detailedEvaluation | ( | ) |
Creates the detailed evaluation output for a selected participant.
Creates the detailed evaluation output for a selected participant
@access public
Definition at line 327 of file class.ilTestEvaluationGUI.php.
References $_GET, $data, $pass, ilDatePresentation\formatDate(), ilUtil\getStyleSheetLocation(), IL_CAL_UNIX, SCORE_BEST_PASS, and ilUtil\sendInfo().
Here is the call graph for this function:| & ilTestEvaluationGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilTestServiceGUI.
Definition at line 45 of file class.ilTestEvaluationGUI.php.
References $cmd, $ret, ilTestServiceGUI\getCommand(), and ilTestServiceGUI\isPdfDeliveryRequest().
Here is the call graph for this function:| ilTestEvaluationGUI::exportAggregatedResults | ( | ) |
Exports the aggregated results.
@access public
Definition at line 721 of file class.ilTestEvaluationGUI.php.
References $_POST.
| ilTestEvaluationGUI::exportCertificate | ( | ) |
Exports the user results as PDF certificates using XSL-FO via XML:RPC calls.
@access public
Definition at line 744 of file class.ilTestEvaluationGUI.php.
References $ilUser, and ilUtil\getASCIIFilename().
Here is the call graph for this function:| ilTestEvaluationGUI::exportEvaluation | ( | ) |
Exports the evaluation data to a selected file format.
Definition at line 665 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 497 of file class.ilTestEvaluationGUI.php.
References $_GET, and assQuestion\_instanciateQuestion().
Here is the call graph for this function:| ilTestEvaluationGUI::exportQuestionForAllParticipants | ( | ) |
Creates a PDF representation of the answers for a given question in a test.
Definition at line 488 of file class.ilTestEvaluationGUI.php.
References $_GET, and ilTestServiceGUI\getQuestionResultForTestUsers().
Here is the call graph for this function:| ilTestEvaluationGUI::filterEvaluation | ( | ) |
Definition at line 125 of file class.ilTestEvaluationGUI.php.
| 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 784 of file class.ilTestEvaluationGUI.php.
|
protected |
Definition at line 1858 of file class.ilTestEvaluationGUI.php.
References $ilDB, $pass, and ilTestServiceGUI\buildPassDetailsOverviewTableGUI().
Referenced by outUserPassDetails().
Here is the call graph for this function:
Here is the caller graph for this function:| & ilTestEvaluationGUI::getHeaderNames | ( | ) |
Definition at line 69 of file class.ilTestEvaluationGUI.php.
| & ilTestEvaluationGUI::getHeaderVars | ( | ) |
Definition at line 101 of file class.ilTestEvaluationGUI.php.
| ilTestEvaluationGUI::outCertificate | ( | ) |
Output of a test certificate.
Definition at line 1520 of file class.ilTestEvaluationGUI.php.
References ilObjTest\_getResultPass().
Here is the call graph for this function:| ilTestEvaluationGUI::outCorrectSolution | ( | ) |
Creates an output of the solution of an answer compared to the correct solution.
@access public
Definition at line 1375 of file class.ilTestEvaluationGUI.php.
References $_GET, $pass, ilObjStyleSheet\getContentStylePath(), ilTestServiceGUI\getCorrectSolutionOutput(), ilUtil\getStyleSheetLocation(), ilObjStyleSheet\getSyntaxStylePath(), and ilUtil\sendInfo().
Here is the call graph for this function:| 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
@access public
Definition at line 803 of file class.ilTestEvaluationGUI.php.
References $_GET, $_SESSION, $pass, ilTestPDFGenerator\generatePDF(), ilTestServiceGUI\getGradingMessage(), ilTestServiceGUI\getPassDetailsOverview(), ilTestServiceGUI\getPassListOfAnswers(), ilTestServiceGUI\getResultsUserdata(), ilUtil\getStyleSheetLocation(), ilTestServiceGUI\isGradingMessageRequired(), ilTestServiceGUI\isPdfDeliveryRequest(), ilTestPDFGenerator\PDF_OUTPUT_DOWNLOAD, and ilUtil\sendInfo().
Here is the call graph for this function:| ilTestEvaluationGUI::outParticipantsResultsOverview | ( | ) |
Output of the pass overview for a test called from the statistics.
@access public
Definition at line 932 of file class.ilTestEvaluationGUI.php.
References $_GET, $filename, ilObjTest\_getResultPass(), ilObjUser\_lookupName(), ilTestPDFGenerator\generatePDF(), ilTestServiceGUI\getGradingMessage(), ilTestServiceGUI\getPassOverview(), ilTestServiceGUI\getResultsUserdata(), ilUtil\getStyleSheetLocation(), ilTestServiceGUI\isGradingMessageRequired(), ilTestPDFGenerator\PDF_OUTPUT_DOWNLOAD, and ilUtil\sendInfo().
Here is the call graph for this function:| 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
@access public
Definition at line 1270 of file class.ilTestEvaluationGUI.php.
References $_GET, $ilUser, $pass, ilTestServiceGUI\getPassListOfAnswers(), ilTestServiceGUI\getPassOverview(), ilTestServiceGUI\getResultsSignature(), ilTestServiceGUI\getResultsUserdata(), ilUtil\getStyleSheetLocation(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilTestEvaluationGUI::outUserPassDetails | ( | ) |
Output of the pass details of an existing test pass for the active test participant.
@access public
Definition at line 1040 of file class.ilTestEvaluationGUI.php.
References $_GET, $ilUser, $pass, ilTestServiceGUI\$tpl, ilTestPDFGenerator\generatePDF(), getFilteredTestResult(), ilTestServiceGUI\getGradingMessage(), ilTestServiceGUI\getPassDetailsOverview(), ilTestServiceGUI\getPassListOfAnswers(), ilTestServiceGUI\getResultsSignature(), ilTestServiceGUI\getResultsUserdata(), ilUtil\getStyleSheetLocation(), ilTestServiceGUI\isGradingMessageRequired(), ilTestServiceGUI\isPdfDeliveryRequest(), and ilTestPDFGenerator\PDF_OUTPUT_DOWNLOAD.
Referenced by outUserPassDetailsResetTableFilter(), and outUserPassDetailsSetTableFilter().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTestEvaluationGUI::outUserPassDetailsResetTableFilter | ( | ) |
Definition at line 1026 of file class.ilTestEvaluationGUI.php.
References ilTestServiceGUI\buildPassDetailsOverviewTableGUI(), and outUserPassDetails().
Here is the call graph for this function:| ilTestEvaluationGUI::outUserPassDetailsSetTableFilter | ( | ) |
Definition at line 1017 of file class.ilTestEvaluationGUI.php.
References ilTestServiceGUI\buildPassDetailsOverviewTableGUI(), and outUserPassDetails().
Here is the call graph for this function:| ilTestEvaluationGUI::outUserResultsOverview | ( | ) |
Output of the pass overview for a test called by a test participant.
@global ilTabsGUI $ilTabs
Definition at line 1174 of file class.ilTestEvaluationGUI.php.
References $ilUser, ilTestPDFGenerator\generatePDF(), ilTestServiceGUI\getGradingMessage(), ilTestServiceGUI\getPassOverview(), ilTestServiceGUI\getResultsUserdata(), ilUtil\getStyleSheetLocation(), ilTestServiceGUI\isGradingMessageRequired(), ilTestServiceGUI\isPdfDeliveryRequest(), and ilTestPDFGenerator\PDF_OUTPUT_DOWNLOAD.
Here is the call graph for this function:| ilTestEvaluationGUI::passDetails | ( | ) |
Output of the learners view of an existing test pass.
Output of the learners view of an existing test pass
@access public
Definition at line 1356 of file class.ilTestEvaluationGUI.php.
References $_GET.
|
private |
Definition at line 1565 of file class.ilTestEvaluationGUI.php.
References ilTestPassDeletionConfirmationGUI\CONTEXT_DYN_TEST_PLAYER, ilTestPassDeletionConfirmationGUI\CONTEXT_INFO_SCREEN, and ilTestPassDeletionConfirmationGUI\CONTEXT_PASS_OVERVIEW.
Referenced by cancelDeletePass().
Here is the caller graph for this function:| ilTestEvaluationGUI::resetfilterEvaluation | ( | ) |
Definition at line 133 of file class.ilTestEvaluationGUI.php.
| ilTestEvaluationGUI::singleResults | ( | ) |
Creates user results for single questions.
Definition at line 1438 of file class.ilTestEvaluationGUI.php.
References $data, $pass, assQuestion\_instanciateQuestion(), and ilUtil\sendInfo().
Here is the call graph for this function: