|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilTestScoring:Public Member Functions | |
| __construct (ilObjTest $test) | |
| setPreserveManualScores ($preserve_manual_scores) | |
| getPreserveManualScores () | |
| getQuestionId () | |
| setQuestionId (int $questionId) | |
| recalculateSolutions () | |
| recalculateSolution ($active_id, $pass) | |
| Updates passed status of the Test. More... | |
| recalculatePasses ($userdata, $active_id) | |
| recalculatePass ($passdata, $active_id, $pass) | |
| resetRecalculatedPassesByActives () | |
| getRecalculatedPassesByActives () | |
| addRecalculatedPassByActive ($activeId, $pass) | |
| removeAllQuestionResults ($questionId) | |
| updatePassAndTestResults ($activeIds) | |
| getNumManualScorings () | |
Protected Attributes | |
| $test | |
| $preserve_manual_scores | |
| $questionId = 0 | |
Private Attributes | |
| $recalculatedPasses | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning 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 38 of file class.ilTestScoring.php.
| ilTestScoring::__construct | ( | ilObjTest | $test | ) |
Definition at line 53 of file class.ilTestScoring.php.
References $test.
| ilTestScoring::addRecalculatedPassByActive | ( | $activeId, | |
| $pass | |||
| ) |
Definition at line 219 of file class.ilTestScoring.php.
Referenced by recalculatePasses().
Here is the caller graph for this function:| ilTestScoring::getNumManualScorings | ( | ) |
Definition at line 257 of file class.ilTestScoring.php.
References $DIC, $query, $res, and getQuestionId().
Here is the call graph for this function:| ilTestScoring::getPreserveManualScores | ( | ) |
Definition at line 72 of file class.ilTestScoring.php.
References $preserve_manual_scores.
| ilTestScoring::getQuestionId | ( | ) |
Definition at line 80 of file class.ilTestScoring.php.
References $questionId.
Referenced by getNumManualScorings(), and recalculatePass().
Here is the caller graph for this function:| ilTestScoring::getRecalculatedPassesByActives | ( | ) |
Definition at line 214 of file class.ilTestScoring.php.
References $recalculatedPasses.
| ilTestScoring::recalculatePass | ( | $passdata, | |
| $active_id, | |||
| $pass | |||
| ) |
| $passdata | |
| $active_id | |
| $pass |
Definition at line 145 of file class.ilTestScoring.php.
References getQuestionId().
Referenced by recalculatePasses(), and recalculateSolution().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTestScoring::recalculatePasses | ( | $userdata, | |
| $active_id | |||
| ) |
| $userdata | |
| $active_id |
Definition at line 129 of file class.ilTestScoring.php.
References addRecalculatedPassByActive(), and recalculatePass().
Referenced by recalculateSolutions().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTestScoring::recalculateSolution | ( | $active_id, | |
| $pass | |||
| ) |
Updates passed status of the Test.
| $active_id | |
| $pass |
Definition at line 113 of file class.ilTestScoring.php.
References assQuestion\_updateTestResultCache(), and recalculatePass().
Here is the call graph for this function:| ilTestScoring::recalculateSolutions | ( | ) |
Definition at line 93 of file class.ilTestScoring.php.
References assQuestion\_updateTestResultCache(), and recalculatePasses().
Here is the call graph for this function:| ilTestScoring::removeAllQuestionResults | ( | $questionId | ) |
Definition at line 230 of file class.ilTestScoring.php.
References $DIC, $query, and $questionId.
| ilTestScoring::resetRecalculatedPassesByActives | ( | ) |
Definition at line 209 of file class.ilTestScoring.php.
| ilTestScoring::setPreserveManualScores | ( | $preserve_manual_scores | ) |
| boolean | $preserve_manual_scores |
Definition at line 64 of file class.ilTestScoring.php.
References $preserve_manual_scores.
| ilTestScoring::setQuestionId | ( | int | $questionId | ) |
| int | $questionId |
Definition at line 88 of file class.ilTestScoring.php.
References $questionId.
| ilTestScoring::updatePassAndTestResults | ( | $activeIds | ) |
Definition at line 238 of file class.ilTestScoring.php.
References $DIC, and assQuestion\_updateTestResultCache().
Here is the call graph for this function:
|
protected |
Definition at line 44 of file class.ilTestScoring.php.
Referenced by getPreserveManualScores(), and setPreserveManualScores().
|
protected |
Definition at line 51 of file class.ilTestScoring.php.
Referenced by getQuestionId(), removeAllQuestionResults(), and setQuestionId().
|
private |
Definition at line 46 of file class.ilTestScoring.php.
Referenced by getRecalculatedPassesByActives().
|
protected |
Definition at line 41 of file class.ilTestScoring.php.
Referenced by __construct().