3 require_once
'Modules/Test/classes/class.ilTestSession.php';
48 if ($lastStartedPass > -1 && $lastFinishedPass < $lastStartedPass) {
59 require_once
'./Modules/Test/classes/class.ilObjTestAccess.php';
60 require_once
'./Services/Tracking/classes/class.ilLPStatusWrapper.php';
68 $debug =
"finPass={$this->testSession->getLastFinishedPass()} / Lp={$lp}";
71 $this->testSession->getUserId(),
73 "updateLearningProgressAfterPassFinishedIsWritten has been called from {$caller} ({$debug})",
83 $trace = $e->getTrace();
86 return $trace[3][
'class'];
Class ilTestPassFinishTasks.
static _getParticipantId($active_id)
Get user id for active id.
updateLearningProgressAfterPassFinishedIsWritten()
static _updateStatus($a_obj_id, $a_usr_id, $a_obj=null, $a_percentage=false, $a_force_raise=false)
Update status.
__construct($active_id, $obj_id)
ilTestPassFinishTasks constructor.
static _addLog($user_id, $object_id, $logtext, $question_id="", $original_id="", $test_only=false, $test_ref_id=null)
Add an assessment log entry.
executeTestFinishOperation(callable $operation)
performFinishTasks(ilTestProcessLocker $processLocker)
static _lookupStatus($a_obj_id, $a_user_id, $a_create=true)
Lookup status.