ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct (ilDBInterface $db, ilObjTest $testOBJ) | |
getActiveId () | |
setActiveId ($activeId) | |
getLastFinishedPass () | |
setLastFinishedPass ($lastFinishedPass) | |
loadLastFinishedPass () | |
getExistingPasses () | |
hasExistingPasses () | |
getNumExistingPasses () | |
getClosedPasses () | |
getReportablePasses () | |
hasReportablePasses () | |
getLastFinishedPassTimestamp () | |
hasTestPassedOnce ($activeId) | |
Protected Attributes | |
$db | |
$testOBJ | |
Private Member Functions | |
passesLoaded () | |
ensureLoadedPasses () | |
loadPasses () | |
getLazyLoadedPasses () | |
fetchReportablePasses ($existingPasses) | |
fetchClosedPasses ($existingPasses) | |
fetchLastPass ($existingPasses) | |
isReportablePass ($lastPass, $pass) | |
checkLastFinishedPassInitialised () | |
isClosedPass ($pass) | |
isReportingDateReached () | |
isProcessingTimeReached ($pass) | |
Private Attributes | |
$activeId | |
$lastFinishedPass = null | |
$passes = null | |
$testPassedOnceCache = array() | |
Definition at line 11 of file class.ilTestPassesSelector.php.
ilTestPassesSelector::__construct | ( | ilDBInterface | $db, |
ilObjTest | $testOBJ | ||
) |
Definition at line 25 of file class.ilTestPassesSelector.php.
|
private |
Definition at line 219 of file class.ilTestPassesSelector.php.
References getLastFinishedPass().
Referenced by isClosedPass().
|
private |
Definition at line 57 of file class.ilTestPassesSelector.php.
References loadPasses(), and passesLoaded().
Referenced by getLazyLoadedPasses().
|
private |
Definition at line 162 of file class.ilTestPassesSelector.php.
References $pass, and isClosedPass().
Referenced by getClosedPasses().
|
private |
Definition at line 175 of file class.ilTestPassesSelector.php.
References $pass.
Referenced by fetchReportablePasses().
|
private |
Definition at line 147 of file class.ilTestPassesSelector.php.
References $pass, fetchLastPass(), and isReportablePass().
Referenced by getReportablePasses().
ilTestPassesSelector::getActiveId | ( | ) |
Definition at line 31 of file class.ilTestPassesSelector.php.
References $activeId.
Referenced by isProcessingTimeReached(), isReportablePass(), loadLastFinishedPass(), and loadPasses().
ilTestPassesSelector::getClosedPasses | ( | ) |
Definition at line 125 of file class.ilTestPassesSelector.php.
References fetchClosedPasses(), and getExistingPasses().
ilTestPassesSelector::getExistingPasses | ( | ) |
Definition at line 110 of file class.ilTestPassesSelector.php.
References getLazyLoadedPasses().
Referenced by getClosedPasses(), getNumExistingPasses(), getReportablePasses(), and hasExistingPasses().
ilTestPassesSelector::getLastFinishedPass | ( | ) |
Definition at line 41 of file class.ilTestPassesSelector.php.
References $lastFinishedPass.
Referenced by checkLastFinishedPassInitialised(), getLastFinishedPassTimestamp(), and isClosedPass().
ilTestPassesSelector::getLastFinishedPassTimestamp | ( | ) |
Definition at line 274 of file class.ilTestPassesSelector.php.
References $passes, getLastFinishedPass(), and getLazyLoadedPasses().
|
private |
Definition at line 87 of file class.ilTestPassesSelector.php.
References $passes, and ensureLoadedPasses().
Referenced by getExistingPasses(), and getLastFinishedPassTimestamp().
ilTestPassesSelector::getNumExistingPasses | ( | ) |
Definition at line 120 of file class.ilTestPassesSelector.php.
References getExistingPasses().
ilTestPassesSelector::getReportablePasses | ( | ) |
Definition at line 133 of file class.ilTestPassesSelector.php.
References fetchReportablePasses(), and getExistingPasses().
Referenced by hasReportablePasses().
ilTestPassesSelector::hasExistingPasses | ( | ) |
Definition at line 115 of file class.ilTestPassesSelector.php.
References getExistingPasses().
ilTestPassesSelector::hasReportablePasses | ( | ) |
Definition at line 142 of file class.ilTestPassesSelector.php.
References getReportablePasses().
ilTestPassesSelector::hasTestPassedOnce | ( | $activeId | ) |
Definition at line 284 of file class.ilTestPassesSelector.php.
References $activeId, $DIC, $res, and $row.
Referenced by isReportablePass().
|
private |
Definition at line 226 of file class.ilTestPassesSelector.php.
References $pass, checkLastFinishedPassInitialised(), getLastFinishedPass(), and isProcessingTimeReached().
Referenced by fetchClosedPasses(), and isReportablePass().
|
private |
Definition at line 256 of file class.ilTestPassesSelector.php.
References $pass, and getActiveId().
Referenced by isClosedPass().
|
private |
Definition at line 188 of file class.ilTestPassesSelector.php.
References $pass, getActiveId(), hasTestPassedOnce(), isClosedPass(), isReportingDateReached(), ilObjTest\SCORE_REPORTING_AFTER_PASSED, ilObjTest\SCORE_REPORTING_DATE, ilObjTest\SCORE_REPORTING_FINISHED, and ilObjTest\SCORE_REPORTING_IMMIDIATLY.
Referenced by fetchReportablePasses().
|
private |
Definition at line 241 of file class.ilTestPassesSelector.php.
Referenced by isReportablePass().
ilTestPassesSelector::loadLastFinishedPass | ( | ) |
Definition at line 93 of file class.ilTestPassesSelector.php.
References $query, $res, $row, getActiveId(), and setLastFinishedPass().
|
private |
Definition at line 63 of file class.ilTestPassesSelector.php.
References $query, $res, $row, and getActiveId().
Referenced by ensureLoadedPasses().
|
private |
Definition at line 52 of file class.ilTestPassesSelector.php.
Referenced by ensureLoadedPasses().
ilTestPassesSelector::setActiveId | ( | $activeId | ) |
Definition at line 36 of file class.ilTestPassesSelector.php.
References $activeId.
Referenced by ilObjTest\canShowTestResults(), ilTestCorrectionsGUI\getSolutions(), ilObjTest\hasAnyTestResult(), ilTestSession\hasSinglePassReportable(), ilObjTest\removeQuestionFromSequences(), and ilTestScoring\updatePassAndTestResults().
ilTestPassesSelector::setLastFinishedPass | ( | $lastFinishedPass | ) |
Definition at line 46 of file class.ilTestPassesSelector.php.
References $lastFinishedPass.
Referenced by loadLastFinishedPass().
|
private |
Definition at line 17 of file class.ilTestPassesSelector.php.
Referenced by getActiveId(), hasTestPassedOnce(), and setActiveId().
|
protected |
Definition at line 13 of file class.ilTestPassesSelector.php.
Referenced by __construct().
|
private |
Definition at line 19 of file class.ilTestPassesSelector.php.
Referenced by getLastFinishedPass(), and setLastFinishedPass().
|
private |
Definition at line 21 of file class.ilTestPassesSelector.php.
Referenced by getLastFinishedPassTimestamp(), and getLazyLoadedPasses().
|
protected |
Definition at line 15 of file class.ilTestPassesSelector.php.
Referenced by __construct().
|
private |
Definition at line 23 of file class.ilTestPassesSelector.php.