24 include_once(
'./Services/Membership/classes/class.ilParticipant.php');
51 $this->NOTIFY_DISMISS_SUBSCRIBER = 1;
52 $this->NOTIFY_ACCEPT_SUBSCRIBER = 2;
53 $this->NOTIFY_DISMISS_MEMBER = 3;
54 $this->NOTIFY_BLOCK_MEMBER = 4;
55 $this->NOTIFY_UNBLOCK_MEMBER = 5;
56 $this->NOTIFY_ACCEPT_USER = 6;
57 $this->NOTIFY_ADMINS = 7;
58 $this->NOTIFY_STATUS_CHANGED = 8;
59 $this->NOTIFY_SUBSCRIPTION_REQUEST = 9;
61 $this->NOTIFY_REGISTERED = 10;
62 $this->NOTIFY_UNSUBSCRIBE = 11;
63 $this->NOTIFY_WAITING_LIST = 12;
65 parent::__construct(self::COMPONENT_NAME, $a_obj_id, $a_usr_id);
79 if (self::$instances[$a_obj_id][$a_usr_id]) {
80 return self::$instances[$a_obj_id][$a_usr_id];
82 return self::$instances[$a_obj_id][$a_usr_id] =
new ilCourseParticipant($a_obj_id, $a_usr_id);
__construct($a_obj_id, $a_usr_id)
Singleton constructor.
Base class for course and group participant.
static _getInstanceByObjId($a_obj_id, $a_usr_id)
Get singleton instance.