ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilTestScoring. More...
Public Member Functions | |
__construct (ilObjTest $test) | |
setPreserveManualScores ( $preserve_manual_scores) | |
getPreserveManualScores () | |
recalculateSolutions () | |
recalculatePasses ($userdata, $active_id) | |
recalculatePass ($passdata, $active_id, $pass) | |
resetRecalculatedPassesByActives () | |
getRecalculatedPassesByActives () | |
addRecalculatedPassByActive ($activeId, $pass) | |
Protected Attributes | |
$test | |
$testGUI | |
$preserve_manual_scores | |
Private Attributes | |
$recalculatedPasses | |
Class ilTestScoring.
This class holds a mechanism to get the scoring for
Warning: Please use carefully, this is one of the classes that may cause funny spikes on your servers load graph on large datasets in the test.
Definition at line 23 of file class.ilTestScoring.php.
ilTestScoring::__construct | ( | ilObjTest | $test | ) |
Definition at line 36 of file class.ilTestScoring.php.
ilTestScoring::addRecalculatedPassByActive | ( | $activeId, | |
$pass | |||
) |
Definition at line 178 of file class.ilTestScoring.php.
Referenced by recalculatePasses().
ilTestScoring::getPreserveManualScores | ( | ) |
Definition at line 58 of file class.ilTestScoring.php.
References $preserve_manual_scores.
ilTestScoring::getRecalculatedPassesByActives | ( | ) |
ilTestScoring::recalculatePass | ( | $passdata, | |
$active_id, | |||
$pass | |||
) |
$passdata | |
$active_id | |
$pass |
Definition at line 102 of file class.ilTestScoring.php.
References $pass, assQuestion\_setReachedPoints(), and assQuestion\setForcePassResultUpdateEnabled().
Referenced by recalculatePasses().
ilTestScoring::recalculatePasses | ( | $userdata, | |
$active_id | |||
) |
$userdata | |
$active_id |
Definition at line 84 of file class.ilTestScoring.php.
References $pass, addRecalculatedPassByActive(), and recalculatePass().
Referenced by recalculateSolutions().
ilTestScoring::recalculateSolutions | ( | ) |
Definition at line 63 of file class.ilTestScoring.php.
References assQuestion\_updateTestResultCache(), and recalculatePasses().
ilTestScoring::resetRecalculatedPassesByActives | ( | ) |
ilTestScoring::setPreserveManualScores | ( | $preserve_manual_scores | ) |
boolean | $preserve_manual_scores |
Definition at line 50 of file class.ilTestScoring.php.
References $preserve_manual_scores.
|
protected |
Definition at line 32 of file class.ilTestScoring.php.
Referenced by getPreserveManualScores(), and setPreserveManualScores().
|
private |
Definition at line 34 of file class.ilTestScoring.php.
Referenced by getRecalculatedPassesByActives().
|
protected |
Definition at line 26 of file class.ilTestScoring.php.
Referenced by __construct().
|
protected |
Definition at line 29 of file class.ilTestScoring.php.