ILIAS
eassessment Revision 61809
|
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 () | |
selectQuestion () | |
Selects a question for manual scoring. | |
scoringParticipants ($q_id=0) | |
List of user answers and reached points for the selected question. | |
evaluationDetail () | |
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, $compare_solutions=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::evaluationDetail | ( | ) |
Definition at line 457 of file class.ilTestScoringGUI.php.
References $_GET, $pass, and ilObjUser\_lookupName().
& ilTestScoringGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilTestServiceGUI.
Definition at line 39 of file class.ilTestScoringGUI.php.
References $_POST, $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 98 of file class.ilTestScoringGUI.php.
References $_GET, $_POST, $data, $pass, $type, ilObjAssessmentFolder\_getManualScoring(), assQuestion\_getQuestionInfo(), ilRTE\_getRTEClassname(), ilObject\_lookupObjectId(), ilObject\_lookupType(), ilTestServiceGUI\getPassListOfAnswersWithScoring(), ilTestServiceGUI\getPassOverview(), and ilUtil\sendInfo().
Referenced by scoringfilter(), scoringfilterreset(), scoringParticipants(), selectQuestion(), setManScoringDone(), and setPointsManual().
ilTestScoringGUI::scoringfilter | ( | ) |
Selects a participant for manual scoring.
Definition at line 69 of file class.ilTestScoringGUI.php.
References manscoring().
ilTestScoringGUI::scoringfilterreset | ( | ) |
Resets the manual scoring filter.
Definition at line 77 of file class.ilTestScoringGUI.php.
References manscoring().
ilTestScoringGUI::scoringParticipants | ( | $q_id = 0 | ) |
List of user answers and reached points for the selected question.
Definition at line 359 of file class.ilTestScoringGUI.php.
References $_POST, $data, $name, $pass, $row, $type, ilObjAssessmentFolder\_getManualScoring(), assQuestion\_getMaximumPoints(), assQuestion\_getQuestionInfo(), assQuestion\_setReachedPoints(), exit, manscoring(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
Referenced by selectQuestion().
ilTestScoringGUI::selectQuestion | ( | ) |
Selects a question for manual scoring.
Definition at line 342 of file class.ilTestScoringGUI.php.
References $_GET, $_POST, manscoring(), and scoringParticipants().
ilTestScoringGUI::setFeedbackManual | ( | ) |
Definition at line 317 of file class.ilTestScoringGUI.php.
References $_GET, $_POST, ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), ilUtil\sendFailure(), ilUtil\sendSuccess(), setPointsManual(), and ilUtil\stripSlashes().
ilTestScoringGUI::setManScoringDone | ( | ) |
Save a user as manual scored.
Definition at line 85 of file class.ilTestScoringGUI.php.
References $_GET, $_POST, and manscoring().
ilTestScoringGUI::setPointsManual | ( | ) |
Sets the points of a question manually.
Definition at line 288 of file class.ilTestScoringGUI.php.
References $_GET, $_POST, $points, assQuestion\_getMaximumPoints(), ilObjTestAccess\_getParticipantId(), assQuestion\_setReachedPoints(), ilLPStatusWrapper\_updateStatus(), manscoring(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Referenced by setFeedbackManual().