6 declare(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(),
getAssignmentId()
Get the assignment this progress belongs to.
informUserByMailToRestart(ilStudyProgrammeProgress $progress)
userRiskyToFail(ilStudyProgrammeProgress $progress)
userDeassigned(ilStudyProgrammeAssignment $a_assignment)
userReAssigned(ilStudyProgrammeAssignment $a_assignment)
getId()
Get the id of the progress.
userAssigned(ilStudyProgrammeAssignment $a_assignment)
Represents one assignment of the user to a program tree.
getUserId()
Get the id of the user this progress is for.
Class ilStudyProgrammeProgress.
userSuccessful(ilStudyProgrammeProgress $a_progress)
static getRefIdFor(int $obj_id)
getNodeId()
Get the obj_id of the program node this progress belongs to.
__construct(\ilAppEventHandler $app_event_handler, \ilStudyProgrammeAssignmentRepository $assignment_repo)