63 if ($lastStartedPass > -1 && $lastFinishedPass < $lastStartedPass) {
74 require_once
'./Modules/Test/classes/class.ilObjTestAccess.php';
75 require_once
'./Services/Tracking/classes/class.ilLPStatusWrapper.php';
83 $debug =
"finPass={$this->testSession->getLastFinishedPass()} / Lp={$lp}";
86 $this->testSession->getUserId(),
88 "updateLearningProgressAfterPassFinishedIsWritten has been called from {$caller} ({$debug})",
98 $trace = $e->getTrace();
101 return $trace[3][
'class'];
static _addLog( $user_id, $object_id, $logtext, $question_id=0, $original_id=0, $test_only=false, $test_ref_id=0)
Add an assessment log entry.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static _getParticipantId($active_id)
Get user id for active id.
updateLearningProgressAfterPassFinishedIsWritten()
__construct($active_id, $obj_id)
ilTestPassFinishTasks constructor.
static _lookupStatus(int $a_obj_id, int $a_user_id, bool $a_create=true)
Lookup status.
executeTestFinishOperation(callable $operation)
performFinishTasks(ilTestProcessLocker $processLocker)
static _updateStatus(int $a_obj_id, int $a_usr_id, ?object $a_obj=null, bool $a_percentage=false, bool $a_force_raise=false)