4 include_once
'./Services/Mail/classes/class.ilMailNotification.php';
51 in_array($this->
getType(), array(self::TYPE_ADMISSION_MEMBER)) )
55 if( $obj->getAutoNotification() == false )
65 case self::TYPE_ADMISSION_MEMBER:
68 if(!$ilSetting->get(
'mail_crs_member_notification',
true))
89 $this->
getMail()->appendInstallationSignature(
true);
91 $this->
sendMail(array($rcp),array(
'system'));
96 case self::TYPE_ACCEPTED_SUBSCRIPTION_MEMBER:
114 $this->
getMail()->appendInstallationSignature(
true);
116 $this->
sendMail(array($rcp),array(
'system'));
120 case self::TYPE_REFUSED_SUBSCRIPTION_MEMBER:
135 $this->
getMail()->appendInstallationSignature(
true);
137 $this->
sendMail(array($rcp),array(
'system'));
141 case self::TYPE_STATUS_CHANGED:
163 $this->
getMail()->appendInstallationSignature(
true);
165 $this->
sendMail(array($rcp),array(
'system'));
170 case self::TYPE_DISMISS_MEMBER:
173 if(!$ilSetting->get(
'mail_crs_member_notification',
true))
190 $this->
getMail()->appendInstallationSignature(
true);
191 $this->
sendMail(array($rcp),array(
'system'));
196 case self::TYPE_BLOCKED_MEMBER:
210 $this->
getMail()->appendInstallationSignature(
true);
211 $this->
sendMail(array($rcp),array(
'system'));
215 case self::TYPE_UNBLOCKED_MEMBER:
234 $this->
getMail()->appendInstallationSignature(
true);
236 $this->
sendMail(array($rcp),array(
'system'));
240 case self::TYPE_NOTIFICATION_REGISTRATION:
267 $this->
getMail()->appendInstallationSignature(
true);
268 $this->
sendMail(array($rcp),array(
'system'));
272 case self::TYPE_NOTIFICATION_REGISTRATION_REQUEST:
299 $this->
getMail()->appendInstallationSignature(
true);
300 $this->
sendMail(array($rcp),array(
'system'));
304 case self::TYPE_NOTIFICATION_UNSUBSCRIBE:
331 $this->
getMail()->appendInstallationSignature(
true);
332 $this->
sendMail(array($rcp),array(
'system'));
336 case self::TYPE_UNSUBSCRIBE_MEMBER:
349 $this->
getMail()->appendInstallationSignature(
true);
350 $this->
sendMail(array($rcp),array(
'system'));
354 case self::TYPE_SUBSCRIBE_MEMBER:
373 $this->
getMail()->appendInstallationSignature(
true);
375 $this->
sendMail(array($rcp),array(
'system'));
379 case self::TYPE_WAITING_LIST_MEMBER:
398 $this->
getMail()->appendInstallationSignature(
true);
399 $this->
sendMail(array($rcp),array(
'system'));
430 if($part->isAdmin($a_usr_id))
435 elseif($part->isTutor($a_usr_id))
444 if($part->isAdmin($a_usr_id) or $part->isTutor($a_usr_id))
448 if($part->isNotificationEnabled($a_usr_id))
461 if($part->isBlocked($a_usr_id))
473 if($part->hasPassed($a_usr_id))