4 include_once
'./Services/Mail/classes/class.ilMailNotification.php';
51 in_array($this->
getType(), array(self::TYPE_ADMISSION_MEMBER)) )
56 if( $obj->getAutoNotiDisabled() )
66 case self::TYPE_ADMISSION_MEMBER:
69 if(!$ilSetting->get(
'mail_crs_member_notification',
true))
90 $this->
getMail()->appendInstallationSignature(
true);
92 $this->
sendMail(array($rcp),array(
'system'));
97 case self::TYPE_ACCEPTED_SUBSCRIPTION_MEMBER:
115 $this->
getMail()->appendInstallationSignature(
true);
117 $this->
sendMail(array($rcp),array(
'system'));
121 case self::TYPE_REFUSED_SUBSCRIPTION_MEMBER:
136 $this->
getMail()->appendInstallationSignature(
true);
138 $this->
sendMail(array($rcp),array(
'system'));
142 case self::TYPE_STATUS_CHANGED:
164 $this->
getMail()->appendInstallationSignature(
true);
166 $this->
sendMail(array($rcp),array(
'system'));
171 case self::TYPE_DISMISS_MEMBER:
174 if(!$ilSetting->get(
'mail_crs_member_notification',
true))
191 $this->
getMail()->appendInstallationSignature(
true);
192 $this->
sendMail(array($rcp),array(
'system'));
197 case self::TYPE_BLOCKED_MEMBER:
211 $this->
getMail()->appendInstallationSignature(
true);
212 $this->
sendMail(array($rcp),array(
'system'));
216 case self::TYPE_UNBLOCKED_MEMBER:
235 $this->
getMail()->appendInstallationSignature(
true);
237 $this->
sendMail(array($rcp),array(
'system'));
241 case self::TYPE_NOTIFICATION_REGISTRATION:
268 $this->
getMail()->appendInstallationSignature(
true);
269 $this->
sendMail(array($rcp),array(
'system'));
273 case self::TYPE_NOTIFICATION_REGISTRATION_REQUEST:
300 $this->
getMail()->appendInstallationSignature(
true);
301 $this->
sendMail(array($rcp),array(
'system'));
305 case self::TYPE_NOTIFICATION_UNSUBSCRIBE:
332 $this->
getMail()->appendInstallationSignature(
true);
333 $this->
sendMail(array($rcp),array(
'system'));
337 case self::TYPE_UNSUBSCRIBE_MEMBER:
350 $this->
getMail()->appendInstallationSignature(
true);
351 $this->
sendMail(array($rcp),array(
'system'));
355 case self::TYPE_SUBSCRIBE_MEMBER:
374 $this->
getMail()->appendInstallationSignature(
true);
376 $this->
sendMail(array($rcp),array(
'system'));
380 case self::TYPE_WAITING_LIST_MEMBER:
399 $this->
getMail()->appendInstallationSignature(
true);
400 $this->
sendMail(array($rcp),array(
'system'));
431 if($part->isAdmin($a_usr_id))
436 elseif($part->isTutor($a_usr_id))
445 if($part->isAdmin($a_usr_id) or $part->isTutor($a_usr_id))
449 if($part->isNotificationEnabled($a_usr_id))
462 if($part->isBlocked($a_usr_id))
474 if($part->hasPassed($a_usr_id))