4 include_once
'./Services/Mail/classes/class.ilMailNotification.php';
54 case self::TYPE_ADMISSION_MEMBER:
57 if(!$ilSetting->get(
'mail_grp_member_notification',
true))
59 $GLOBALS[
'ilLog']->write(__METHOD__.
': Membership mail disabled globally.');
79 $this->
getMail()->appendInstallationSignature(
true);
81 $this->
sendMail(array($rcp),array(
'system'));
85 case self::TYPE_DISMISS_MEMBER:
88 if(!$ilSetting->get(
'mail_grp_member_notification',
true))
90 $GLOBALS[
'ilLog']->write(__METHOD__.
': Membership mail disabled globally.');
106 $this->
getMail()->appendInstallationSignature(
true);
107 $this->
sendMail(array($rcp),array(
'system'));
112 case self::TYPE_NOTIFICATION_REGISTRATION:
139 $this->
getMail()->appendInstallationSignature(
true);
140 $this->
sendMail(array($rcp),array(
'system'));
144 case self::TYPE_UNSUBSCRIBE_MEMBER:
158 $this->
getMail()->appendInstallationSignature(
true);
159 $this->
sendMail(array($rcp),array(
'system'));
163 case self::TYPE_NOTIFICATION_UNSUBSCRIBE:
190 $this->
getMail()->appendInstallationSignature(
true);
191 $this->
sendMail(array($rcp),array(
'system'));
196 case self::TYPE_SUBSCRIBE_MEMBER:
215 $this->
getMail()->appendInstallationSignature(
true);
217 $this->
sendMail(array($rcp),array(
'system'));
222 case self::TYPE_NOTIFICATION_REGISTRATION_REQUEST:
249 $this->
getMail()->appendInstallationSignature(
true);
250 $this->
sendMail(array($rcp),array(
'system'));
254 case self::TYPE_REFUSED_SUBSCRIPTION_MEMBER:
269 $this->
getMail()->appendInstallationSignature(
true);
271 $this->
sendMail(array($rcp),array(
'system'));
275 case self::TYPE_ACCEPTED_SUBSCRIPTION_MEMBER:
293 $this->
getMail()->appendInstallationSignature(
true);
295 $this->
sendMail(array($rcp),array(
'system'));
299 case self::TYPE_WAITING_LIST_MEMBER:
318 $this->
getMail()->appendInstallationSignature(
true);
319 $this->
sendMail(array($rcp),array(
'system'));
324 case self::TYPE_STATUS_CHANGED:
346 $this->
getMail()->appendInstallationSignature(
true);
348 $this->
sendMail(array($rcp),array(
'system'));
380 if($part->isAdmin($a_usr_id))
390 if($part->isAdmin($a_usr_id))
394 if($part->isNotificationEnabled($a_usr_id))