ILIAS
Release_4_0_x_branch Revision 61816
|
Output class for assessment test evaluation. More...
Public Member Functions | |
ilTestEvaluationGUI ($a_object) | |
ilTestEvaluationGUI constructor | |
& | executeCommand () |
execute command | |
& | getHeaderNames () |
& | getHeaderVars () |
filterEvaluation () | |
resetfilterEvaluation () | |
outEvaluation () | |
Creates the evaluation output for the test. | |
detailedEvaluation () | |
Creates the detailed evaluation output for a selected participant. | |
exportQuestionForAllParticipants () | |
Creates a PDF representation of the answers for a given question in a test. | |
exportFileUploadsForAllParticipants () | |
Creates a ZIP file containing all file uploads for a given question in a test. | |
eval_a () | |
Output of anonymous aggregated results for the test. | |
exportEvaluation () | |
Exports the evaluation data to a selected file format. | |
exportAggregatedResults () | |
Exports the aggregated results. | |
exportCertificate () | |
Exports the user results as PDF certificates using XSL-FO via XML:RPC calls. | |
getEvaluationQuestionId ($question_id, $original_id="") | |
Returns the ID of a question for evaluation purposes. | |
saveEvalSettings () | |
evalSettings () | |
outParticipantsPassDetails () | |
Output of the pass details of an existing test pass for the test statistics. | |
outParticipantsResultsOverview () | |
Output of the pass overview for a test called from the statistics. | |
outUserPassDetails () | |
Output of the pass details of an existing test pass for the active test participant. | |
outUserResultsOverview () | |
Output of the pass overview for a test called by a test participant. | |
outUserListOfAnswerPasses () | |
Output of the pass overview for a user when he/she wants to see his/her list of answers. | |
passDetails () | |
Output of the learners view of an existing test pass. | |
outCorrectSolution () | |
Creates an output of the solution of an answer compared to the correct solution. | |
singleResults () | |
Creates user results for single questions. | |
outCertificate () | |
Output of a test certificate. | |
Public Member Functions inherited from ilTestServiceGUI | |
ilTestServiceGUI ($a_object) | |
ilTestScoringGUI constructor | |
getCommand ($cmd) | |
Retrieves the ilCtrl command. | |
getPassOverview ($active_id, $targetclass="", $targetcommand="", $short=FALSE, $hide_details=FALSE) | |
Returns the pass overview for a given active ID. | |
getFinalStatement ($active_id) | |
Returns the final statement for a user. | |
getPassListOfAnswers (&$result_array, $active_id, $pass, $show_solutions=FALSE, $only_answered_questions=FALSE, $show_question_only=FALSE, $show_reached_points=FALSE) | |
Returns the list of answers of a users test pass. | |
getPassListOfAnswersWithScoring (&$result_array, $active_id, $pass, $show_solutions=FALSE) | |
Returns the list of answers of a users test pass and offers a scoring option. | |
getPassDetailsOverview ($result_array, $active_id, $pass, $targetclass="", $targetcommandsort="", $targetcommanddetails="", $standard_header=TRUE) | |
Returns the pass details overview for a given active ID and pass. | |
getResultsSignature () | |
Returns HTML code for a signature field. | |
getResultsUserdata ($active_id, $overwrite_anonymity=FALSE) | |
Returns the user data for a test results output. | |
getCorrectSolutionOutput ($question_id, $active_id, $pass) | |
Returns an output of the solution to an answer compared to the correct solution. | |
getResultsOfUserOutput ($active_id, $pass, $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. | |
getResultsHeadUserAndPass ($active_id, $pass) | |
Returns the user and pass data for a test results output. | |
getQuestionResultForTestUsers ($question_id, $test_id) | |
Creates a HTML representation for the results of a given question in a test. |
Additional Inherited Members | |
Data Fields inherited from ilTestServiceGUI | |
$object | |
$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
Definition at line 39 of file class.ilTestEvaluationGUI.php.
ilTestEvaluationGUI::detailedEvaluation | ( | ) |
Creates the detailed evaluation output for a selected participant.
Creates the detailed evaluation output for a selected participant
public
Definition at line 330 of file class.ilTestEvaluationGUI.php.
References $_GET, $data, $pass, ilDatePresentation\formatDate(), ilUtil\getStyleSheetLocation(), IL_CAL_UNIX, SCORE_BEST_PASS, and ilUtil\sendInfo().
ilTestEvaluationGUI::eval_a | ( | ) |
Output of anonymous aggregated results for the test.
Output of anonymous aggregated results for the test
public
Definition at line 514 of file class.ilTestEvaluationGUI.php.
References $data, and ilUtil\sendInfo().
ilTestEvaluationGUI::evalSettings | ( | ) |
Definition at line 791 of file class.ilTestEvaluationGUI.php.
References ilUtil\sendInfo(), and ilFormPropertyGUI\setDisabled().
& ilTestEvaluationGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilTestServiceGUI.
Definition at line 60 of file class.ilTestEvaluationGUI.php.
References $cmd, $ret, and ilTestServiceGUI\getCommand().
ilTestEvaluationGUI::exportAggregatedResults | ( | ) |
Exports the aggregated results.
public
Definition at line 700 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 723 of file class.ilTestEvaluationGUI.php.
References $name, and ilUtil\getASCIIFilename().
ilTestEvaluationGUI::exportEvaluation | ( | ) |
Exports the evaluation data to a selected file format.
public
Definition at line 649 of file class.ilTestEvaluationGUI.php.
ilTestEvaluationGUI::exportFileUploadsForAllParticipants | ( | ) |
Creates a ZIP file containing all file uploads for a given question in a test.
public
Definition at line 493 of file class.ilTestEvaluationGUI.php.
References $_GET, and ilObjTest\_instanciateQuestion().
ilTestEvaluationGUI::exportQuestionForAllParticipants | ( | ) |
Creates a PDF representation of the answers for a given question in a test.
public
Definition at line 483 of file class.ilTestEvaluationGUI.php.
References $_GET, and ilTestServiceGUI\getQuestionResultForTestUsers().
ilTestEvaluationGUI::filterEvaluation | ( | ) |
Definition at line 133 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 763 of file class.ilTestEvaluationGUI.php.
& ilTestEvaluationGUI::getHeaderNames | ( | ) |
Definition at line 77 of file class.ilTestEvaluationGUI.php.
& ilTestEvaluationGUI::getHeaderVars | ( | ) |
Definition at line 109 of file class.ilTestEvaluationGUI.php.
ilTestEvaluationGUI::ilTestEvaluationGUI | ( | $a_object | ) |
ilTestEvaluationGUI constructor
The constructor takes possible arguments an creates an instance of the ilTestEvaluationGUI object.
object | $a_object | Associated ilObjTest class public |
Definition at line 50 of file class.ilTestEvaluationGUI.php.
References ilTestServiceGUI\ilTestServiceGUI().
ilTestEvaluationGUI::outCertificate | ( | ) |
Output of a test certificate.
Definition at line 1399 of file class.ilTestEvaluationGUI.php.
References ilObjTest\_getResultPass().
ilTestEvaluationGUI::outCorrectSolution | ( | ) |
Creates an output of the solution of an answer compared to the correct solution.
public
Definition at line 1284 of file class.ilTestEvaluationGUI.php.
References $_GET, ilObjStyleSheet\getContentStylePath(), ilTestServiceGUI\getCorrectSolutionOutput(), ilUtil\getStyleSheetLocation(), and ilObjStyleSheet\getSyntaxStylePath().
ilTestEvaluationGUI::outEvaluation | ( | ) |
Creates the evaluation output for the test.
public
Definition at line 154 of file class.ilTestEvaluationGUI.php.
References $data, $key, ilCertificate\_isComplete(), ilObjUser\_lookupFields(), ilUtil\getStyleSheetLocation(), and ilUtil\sendInfo().
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 836 of file class.ilTestEvaluationGUI.php.
References $_GET, ilTestServiceGUI\$ilias, $pass, ilTestServiceGUI\getFinalStatement(), ilUtil\getHtmlPath(), ilUtil\getImagePath(), ilRPCServerSettings\getInstance(), ilTestServiceGUI\getPassDetailsOverview(), ilTestServiceGUI\getPassListOfAnswers(), ilTestServiceGUI\getResultsUserdata(), and ilUtil\getStyleSheetLocation().
ilTestEvaluationGUI::outParticipantsResultsOverview | ( | ) |
Output of the pass overview for a test called from the statistics.
Output of the pass overview for a test called from the statistics
public
Definition at line 929 of file class.ilTestEvaluationGUI.php.
References $_GET, ilTestServiceGUI\$ilias, ilObjTest\_getResultPass(), ilTestServiceGUI\getFinalStatement(), ilUtil\getHtmlPath(), ilUtil\getImagePath(), ilRPCServerSettings\getInstance(), ilTestServiceGUI\getPassOverview(), ilTestServiceGUI\getResultsUserdata(), and ilUtil\getStyleSheetLocation().
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 1197 of file class.ilTestEvaluationGUI.php.
References $_GET, $pass, ilTestServiceGUI\getPassListOfAnswers(), ilTestServiceGUI\getPassOverview(), ilTestServiceGUI\getResultsSignature(), ilTestServiceGUI\getResultsUserdata(), and ilUtil\getStyleSheetLocation().
ilTestEvaluationGUI::outUserPassDetails | ( | ) |
Output of the pass details of an existing test pass for the active test participant.
Output of the pass details of an existing test pass for the active test participant
public
Definition at line 1000 of file class.ilTestEvaluationGUI.php.
References $_GET, $pass, ilTestServiceGUI\getFinalStatement(), ilTestServiceGUI\getPassDetailsOverview(), ilTestServiceGUI\getPassListOfAnswers(), and ilUtil\getStyleSheetLocation().
ilTestEvaluationGUI::outUserResultsOverview | ( | ) |
Output of the pass overview for a test called by a test participant.
Output of the pass overview for a test called by a test participant
public
Definition at line 1067 of file class.ilTestEvaluationGUI.php.
References $_GET, ilTestServiceGUI\$ilias, $ilLog, $pass, ilTestServiceGUI\getFinalStatement(), ilUtil\getHtmlPath(), ilUtil\getImagePath(), ilRPCServerSettings\getInstance(), ilTestServiceGUI\getPassDetailsOverview(), ilTestServiceGUI\getPassListOfAnswers(), ilTestServiceGUI\getPassOverview(), ilTestServiceGUI\getResultsSignature(), ilTestServiceGUI\getResultsUserdata(), and ilUtil\getStyleSheetLocation().
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 1265 of file class.ilTestEvaluationGUI.php.
References $_GET.
ilTestEvaluationGUI::resetfilterEvaluation | ( | ) |
Definition at line 141 of file class.ilTestEvaluationGUI.php.
ilTestEvaluationGUI::saveEvalSettings | ( | ) |
Definition at line 775 of file class.ilTestEvaluationGUI.php.
References $_POST, $key, $results, and ilUtil\sendSuccess().
ilTestEvaluationGUI::singleResults | ( | ) |
Creates user results for single questions.
public
Definition at line 1318 of file class.ilTestEvaluationGUI.php.
References $data, $pass, ilObjTest\_instanciateQuestion(), ilUtil\sendInfo(), and ilTable2GUI\setTitle().