ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilTestScoring. More...
Public Member Functions | |
__construct (ilObjTest $test) | |
setPreserveManualScores ($preserve_manual_scores) | |
getPreserveManualScores () | |
recalculateSolutions () | |
recalculatePasses ($userdata, $active_id) | |
recalculatePass ($passdata, $active_id, $pass) |
Protected Attributes | |
$test | |
$testGUI | |
$preserve_manual_scores |
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 34 of file class.ilTestScoring.php.
References $test.
ilTestScoring::getPreserveManualScores | ( | ) |
Definition at line 54 of file class.ilTestScoring.php.
References $preserve_manual_scores.
ilTestScoring::recalculatePass | ( | $passdata, | |
$active_id, | |||
$pass | |||
) |
$passdata | |
$active_id | |
$pass |
Definition at line 113 of file class.ilTestScoring.php.
References $pass.
Referenced by recalculatePasses().
ilTestScoring::recalculatePasses | ( | $userdata, | |
$active_id | |||
) |
$userdata | |
$active_id |
Definition at line 80 of file class.ilTestScoring.php.
References $filename, $pass, ilTestPDFGenerator\generatePDF(), ilUtil\getWebspaceDir(), ilTestArchiver\handInTestResult(), ilTestPDFGenerator\PDF_OUTPUT_FILE, and recalculatePass().
Referenced by recalculateSolutions().
ilTestScoring::recalculateSolutions | ( | ) |
Definition at line 59 of file class.ilTestScoring.php.
References assQuestion\_updateTestResultCache(), and recalculatePasses().
ilTestScoring::setPreserveManualScores | ( | $preserve_manual_scores | ) |
boolean | $preserve_manual_scores |
Definition at line 46 of file class.ilTestScoring.php.
References $preserve_manual_scores.
|
protected |
Definition at line 32 of file class.ilTestScoring.php.
Referenced by getPreserveManualScores(), and setPreserveManualScores().
|
protected |
Definition at line 26 of file class.ilTestScoring.php.
Referenced by __construct().
|
protected |
Definition at line 29 of file class.ilTestScoring.php.