ILIAS
Release_3_10_x_branch Revision 61812
|
Scoring class for tests. More...
Public Member Functions | |
ilTestScoringGUI ($a_object) | |
ilTestScoringGUI constructor | |
& | executeCommand () |
execute command | |
selectParticipant () | |
Selects a participant for manual scoring. | |
manscoring ($active_id=0) | |
Shows the test scoring GUI. | |
setPointsManual () | |
Sets the points of a question manually. | |
setFeedbackManual () | |
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 (&$test_data_array) | |
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 |
& ilTestScoringGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilTestServiceGUI.
Definition at line 57 of file class.ilTestScoringGUI.php.
References $cmd, $ret, and ilTestServiceGUI\getCommand().
ilTestScoringGUI::ilTestScoringGUI | ( | $a_object | ) |
ilTestScoringGUI constructor
The constructor takes the test object reference as parameter
object | $a_object | Associated ilObjTest class public |
Definition at line 47 of file class.ilTestScoringGUI.php.
References ilTestServiceGUI\ilTestServiceGUI().
ilTestScoringGUI::manscoring | ( | $active_id = 0 | ) |
Shows the test scoring GUI.
integer | $active_id | The acitve ID of the participant to score |
Definition at line 89 of file class.ilTestScoringGUI.php.
References $_GET, $data, $pass, ilObjAssessmentFolder\_getManualScoring(), ilRTE\_getRTEClassname(), ilObject\_lookupObjectId(), ilObject\_lookupType(), ilTestServiceGUI\getPassListOfAnswersWithScoring(), ilTestServiceGUI\getPassOverview(), and ilUtil\sendInfo().
Referenced by selectParticipant(), and setPointsManual().
ilTestScoringGUI::selectParticipant | ( | ) |
Selects a participant for manual scoring.
Definition at line 79 of file class.ilTestScoringGUI.php.
References manscoring().
ilTestScoringGUI::setFeedbackManual | ( | ) |
Definition at line 218 of file class.ilTestScoringGUI.php.
References $_GET, $result, ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), ilUtil\sendInfo(), setPointsManual(), and ilUtil\stripSlashes().
ilTestScoringGUI::setPointsManual | ( | ) |
Sets the points of a question manually.
Definition at line 196 of file class.ilTestScoringGUI.php.
References $_GET, $result, assQuestion\_getMaximumPoints(), assQuestion\_setReachedPoints(), manscoring(), and ilUtil\sendInfo().
Referenced by setFeedbackManual().