6declare(strict_types=1);
30 public function raise($a_event, $a_parameter) :
void
32 $this->app_event_handler->raise(self::COMPONENT, $a_event, $a_parameter);
43 "root_prg_id" => $a_assignment->
getRootId(),
45 "ass_id" => $a_assignment->
getId()
59 "usr_id" => (
int) $a_assignment->
getUserId()
72 "root_prg_id" => $a_assignment->
getRootId(),
74 "ass_id" => $a_assignment->
getId()
88 "root_prg_id" => $ass->getRootId(),
90 "usr_id" => $ass->getUserId(),
91 "ass_id" => $ass->getId()
99 'informUserToRestart',
101 "usr_id" => (int) $progress->
getUserId(),
102 "progress_id" => (int) $progress->
getId(),
113 "progress_id" => $progress->
getId(),
An exception for terminatinating execution or to throw for unit testing.
static getRefIdFor(int $obj_id)
Represents one assignment of the user to a program tree.
userAssigned(ilStudyProgrammeAssignment $a_assignment)
informUserByMailToRestart(ilStudyProgrammeProgress $progress)
userReAssigned(ilStudyProgrammeAssignment $a_assignment)
__construct(\ilAppEventHandler $app_event_handler, \ilStudyProgrammeAssignmentRepository $assignment_repo)
userSuccessful(ilStudyProgrammeProgress $a_progress)
userDeassigned(ilStudyProgrammeAssignment $a_assignment)
userRiskyToFail(ilStudyProgrammeProgress $progress)
Class ilStudyProgrammeProgress.
getId()
Get the id of the progress.
getAssignmentId()
Get the assignment this progress belongs to.
getUserId()
Get the id of the user this progress is for.
getNodeId()
Get the obj_id of the program node this progress belongs to.