|
ILIAS
eassessment Revision 61809
|
NewScoring class for tests. More...
Inheritance diagram for ilTestNewScoringGUI:
Collaboration diagram for ilTestNewScoringGUI:Public Member Functions | |
| ilTestNewScoringGUI ($a_object) | |
| ilTestNewScoringGUI constructor | |
| & | executeCommand () |
| execute command | |
| scoreQuestion () | |
| question scoring | |
| getQuestionStat ($qid, $save=FALSE, $qnum="") | |
| sync () | |
| Confirm synchronisation with original questionpool. | |
| cancelSync () | |
| Cancel dialog to confirm synchronisation. | |
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 | |
NewScoring class for tests.
Definition at line 36 of file class.ilTestNewScoringGUI.php.
| ilTestNewScoringGUI::cancelSync | ( | ) |
Cancel dialog to confirm synchronisation.
Definition at line 851 of file class.ilTestNewScoringGUI.php.
References $_GET.
| & ilTestNewScoringGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilTestServiceGUI.
Definition at line 59 of file class.ilTestNewScoringGUI.php.
References $cmd, $ret, and ilTestServiceGUI\getCommand().
Here is the call graph for this function:| ilTestNewScoringGUI::getQuestionStat | ( | $qid, | |
$save = FALSE, |
|||
$qnum = "" |
|||
| ) |
Definition at line 323 of file class.ilTestNewScoringGUI.php.
References $filename, $ilDB, $pos, $title, assQuestion\_getQuestionType(), CLOZE_NUMERIC, CLOZE_SELECT, CLOZE_TEXT, ilTestNewScoring\getSolutionStat(), ilTestNewScoring\getUserAnswers(), and OQ_PICTURES.
Referenced by scoreQuestion().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTestNewScoringGUI::ilTestNewScoringGUI | ( | $a_object | ) |
ilTestNewScoringGUI constructor
The constructor takes the test object reference as parameter
| object | $a_object | Associated ilObjTest class public |
Definition at line 48 of file class.ilTestNewScoringGUI.php.
References ilTestServiceGUI\ilTestServiceGUI().
Here is the call graph for this function:| ilTestNewScoringGUI::scoreQuestion | ( | ) |
question scoring
Definition at line 82 of file class.ilTestNewScoringGUI.php.
References $_GET, $_POST, $_REQUEST, $command, $data, $ilDB, $ilErr, $out, ilTestServiceGUI\$tpl, assQuestion\_getQuestionType(), assQuestion\_isWriteable(), getQuestionStat(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilTestNewScoringGUI::sync | ( | ) |
Confirm synchronisation with original questionpool.
Definition at line 825 of file class.ilTestNewScoringGUI.php.
References $_GET, and assQuestion\_getQuestionType().
Here is the call graph for this function: