15 if (self::$app_event_handler === null) {
16 global $ilAppEventHandler;
17 self::$app_event_handler = $ilAppEventHandler;
21 static protected function raise($a_event, $a_parameter) {
22 self::initAppEventHandler();
23 self::$app_event_handler->raise(self::$component, $a_event, $a_parameter);
27 self::raise(
"userAssigned", array
30 ,
"ass_id" => $a_assignment->
getId()
35 self::raise(
"userDeassigned", array
38 ,
"ass_id" => $a_assignment->
getId()
44 self::raise(
"userSuccessful", array
45 (
"root_prg_id" => $ass->getStudyProgramme()->getId()
47 ,
"usr_id" => $ass->getUserId()
48 ,
"ass_id" => $ass->getId()
static $app_event_handler
static userSuccessful(ilStudyProgrammeUserProgress $a_progress)
getStudyProgramme()
Get the program node where this assignment was made.
getStudyProgramme()
Get the program node where this progress belongs to was made.
static userAssigned(ilStudyProgrammeUserAssignment $a_assignment)
Events for the StudyProgramme.
getAssignment()
Get the assignment this progress belongs to.
getUserId()
Get the id of the user who is assigned.
static userDeassigned(ilStudyProgrammeUserAssignment $a_assignment)
getId()
Get the id of the assignment.
static initAppEventHandler()
Represents one assignment of a user to a study programme.
Represents the progress of a user at one node of a study programme.