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];
78 $rolf = $rbacreview->getRoleFolderOfObject($a_ref_id);
79 $lrol = $rbacreview->getRolesOfRoleFolder($rolf[
'ref_id'],
false);
82 foreach($lrol as $role)
111 $rolf = $rbacreview->getRoleFolderOfObject($a_ref_id);
112 if(!isset($rolf[
'ref_id']) or !$rolf[
'ref_id'])
114 $title = $ilObjDataCache->lookupTitle($ilObjDataCache->lookupObjId($a_ref_id));
115 $ilLog->write(__METHOD__.
': Found object without role folder. Ref_id: '.$a_ref_id.
', title: '.
$title);
120 $local_roles = $rbacreview->getRolesOfRoleFolder($rolf[
"ref_id"],
false);
121 return $rbacreview->isAssignedToAtLeastOneGivenRole($a_usr_id, $local_roles);
132 include_once
'./Modules/Group/classes/class.ilGroupMembershipMailNotification.php';
139 $mail->setRefId($this->ref_id);
140 $mail->setRecipients(array($a_usr_id));
148 $mail->setRefId($this->ref_id);
149 $mail->setRecipients(array($a_usr_id));
157 $mail->setAdditionalInformation(array(
'usr_id' => $a_usr_id));
158 $mail->setRefId($this->ref_id);
167 $mail->setRefId($this->ref_id);
168 $mail->setRecipients(array($a_usr_id));
176 $mail->setAdditionalInformation(array(
'usr_id' => $a_usr_id));
177 $mail->setRefId($this->ref_id);
186 $mail->setRefId($this->ref_id);
187 $mail->setRecipients(array($a_usr_id));
195 $mail->setAdditionalInformation(array(
'usr_id' => $a_usr_id));
196 $mail->setRefId($this->ref_id);
205 $mail->setRefId($this->ref_id);
206 $mail->setRecipients(array($a_usr_id));
214 $mail->setRefId($this->ref_id);
215 $mail->setRecipients(array($a_usr_id));
221 include_once(
'./Modules/Group/classes/class.ilGroupWaitingList.php');
223 $pos = $wl->getPosition($a_usr_id);
227 $mail->setRefId($this->ref_id);
228 $mail->setRecipients(array($a_usr_id));
229 $mail->setAdditionalInformation(array(
'position' => $pos));
237 $mail->setRefId($this->ref_id);
238 $mail->setRecipients(array($a_usr_id));