24 include_once(
'./Services/Membership/classes/class.ilParticipants.php');
63 if(isset(self::$instances[$a_obj_id]) and self::$instances[$a_obj_id])
65 return self::$instances[$a_obj_id];
82 $rolf = $rbacreview->getRoleFolderOfObject($a_ref_id);
83 if(!isset($rolf[
'ref_id']) or !$rolf[
'ref_id'])
85 $title = $ilObjDataCache->lookupTitle($ilObjDataCache->lookupObjId($a_ref_id));
86 $ilLog->write(__METHOD__.
': Found object without role folder. Ref_id: '.$a_ref_id.
', title: '.
$title);
91 $local_roles = $rbacreview->getRolesOfRoleFolder($rolf[
"ref_id"],
false);
92 return $rbacreview->isAssignedToAtLeastOneGivenRole($a_usr_id, $local_roles);
103 include_once
'./Modules/Group/classes/class.ilGroupMembershipMailNotification.php';
110 $mail->setRefId($this->ref_id);
111 $mail->setRecipients(array($a_usr_id));
119 $mail->setRefId($this->ref_id);
120 $mail->setRecipients(array($a_usr_id));
128 $mail->setAdditionalInformation(array(
'usr_id' => $a_usr_id));
129 $mail->setRefId($this->ref_id);
138 $mail->setRefId($this->ref_id);
139 $mail->setRecipients(array($a_usr_id));
147 $mail->setAdditionalInformation(array(
'usr_id' => $a_usr_id));
148 $mail->setRefId($this->ref_id);
157 $mail->setRefId($this->ref_id);
158 $mail->setRecipients(array($a_usr_id));
166 $mail->setAdditionalInformation(array(
'usr_id' => $a_usr_id));
167 $mail->setRefId($this->ref_id);
176 $mail->setRefId($this->ref_id);
177 $mail->setRecipients(array($a_usr_id));
185 $mail->setRefId($this->ref_id);
186 $mail->setRecipients(array($a_usr_id));
192 include_once(
'./Modules/Group/classes/class.ilGroupWaitingList.php');
194 $pos = $wl->getPosition($a_usr_id);
198 $mail->setRefId($this->ref_id);
199 $mail->setRecipients(array($a_usr_id));
200 $mail->setAdditionalInformation(array(
'position' => $pos));
208 $mail->setRefId($this->ref_id);
209 $mail->setRecipients(array($a_usr_id));