15 if (self::$app_event_handler === null) {
17 $ilAppEventHandler = $DIC[
'ilAppEventHandler'];
18 self::$app_event_handler = $ilAppEventHandler;
22 static protected function raise($a_event, $a_parameter) {
23 self::initAppEventHandler();
24 self::$app_event_handler->raise(self::$component, $a_event, $a_parameter);
28 self::raise(
"userAssigned",
array 31 ,
"ass_id" => $a_assignment->
getId()
36 self::raise(
"userDeassigned",
array 39 ,
"ass_id" => $a_assignment->
getId()
45 self::raise(
"userSuccessful",
array 46 (
"root_prg_id" => $ass->getStudyProgramme()->getId()
48 ,
"usr_id" => $ass->getUserId()
49 ,
"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.
Create styles array
The data for the language used.
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.