ILIAS
Release_4_2_x_branch Revision 61807
|
Scoring class for tests. More...
Public Member Functions | |
ilTestScoringGUI ($a_object) | |
ilTestScoringGUI constructor | |
& | executeCommand () |
execute command | |
scoringfilter () | |
Selects a participant for manual scoring. | |
scoringfilterreset () | |
Resets the manual scoring filter. | |
setManScoringDone () | |
Save a user as manual scored. | |
manscoring () | |
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 ($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 |
& ilTestScoringGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilTestServiceGUI.
Definition at line 39 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 28 of file class.ilTestScoringGUI.php.
References ilTestServiceGUI\ilTestServiceGUI().
ilTestScoringGUI::manscoring | ( | ) |
Shows the test scoring GUI.
integer | $active_id | The acitve ID of the participant to score |
Definition at line 90 of file class.ilTestScoringGUI.php.
References $_GET, $_POST, $data, $pass, ilObjAssessmentFolder\_getManualScoring(), ilRTE\_getRTEClassname(), ilObject\_lookupObjectId(), ilObject\_lookupType(), ilTestServiceGUI\getPassListOfAnswersWithScoring(), ilTestServiceGUI\getPassOverview(), and ilUtil\sendInfo().
Referenced by scoringfilter(), scoringfilterreset(), setManScoringDone(), and setPointsManual().
ilTestScoringGUI::scoringfilter | ( | ) |
Selects a participant for manual scoring.
Definition at line 61 of file class.ilTestScoringGUI.php.
References manscoring().
ilTestScoringGUI::scoringfilterreset | ( | ) |
Resets the manual scoring filter.
Definition at line 69 of file class.ilTestScoringGUI.php.
References manscoring().
ilTestScoringGUI::setFeedbackManual | ( | ) |
Definition at line 277 of file class.ilTestScoringGUI.php.
References $_GET, $_POST, $result, ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), ilUtil\sendFailure(), ilUtil\sendSuccess(), setPointsManual(), and ilUtil\stripSlashes().
ilTestScoringGUI::setManScoringDone | ( | ) |
Save a user as manual scored.
Definition at line 77 of file class.ilTestScoringGUI.php.
References $_GET, $_POST, and manscoring().
ilTestScoringGUI::setPointsManual | ( | ) |
Sets the points of a question manually.
Definition at line 248 of file class.ilTestScoringGUI.php.
References $_GET, $_POST, $result, assQuestion\_getMaximumPoints(), ilObjTestAccess\_getParticipantId(), assQuestion\_setReachedPoints(), ilLPStatusWrapper\_updateStatus(), manscoring(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Referenced by setFeedbackManual().