24 include_once(
'./Services/Membership/classes/class.ilParticipants.php');
25 include_once
'./Modules/Session/classes/class.ilEventParticipants.php';
55 parent::__construct(self::COMPONENT_NAME,$a_obj_id);
70 if(isset(self::$instances[$a_obj_id])
and self::$instances[$a_obj_id])
72 return self::$instances[$a_obj_id];
113 $this->participants_status =
array();
116 $this->participants_status[$mem_uid][
'blocked'] = FALSE;
117 $this->participants_status[$mem_uid][
'notification'] = FALSE;
118 $this->participants_status[$mem_uid][
'passed'] = FALSE;
126 public function add($a_usr_id, $a_role =
"")
135 public function delete($a_usr_id)
static _isParticipant($a_ref_id, $a_usr_id)
Static function to check if a user is a participant of the container object.
__construct($a_obj_id)
Constructor.
static _getInstanceByObjId($a_obj_id)
Get singleton instance.
static _isRegistered($a_usr_id, $a_event_id)
getMembers()
Get all members ids (admins and tutors are not members) Use get participants to fetch all...
add($a_usr_id, $a_role="")
Add user.
static _lookupObjId($a_id)
readParticipantsStatus()
read participant status
readParticipants()
read Participants
Create styles array
The data for the language used.