4 include_once
'./Services/Mail/classes/class.ilMailNotification.php';
51 in_array($this->
getType(), array(self::TYPE_ADMISSION_MEMBER)) )
55 if( $obj->getAutoNotification() == false )
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:
352 $this->
getMail()->appendInstallationSignature(
true);
353 $this->
sendMail(array($rcp),array(
'system'));
357 case self::TYPE_SUBSCRIBE_MEMBER:
376 $this->
getMail()->appendInstallationSignature(
true);
378 $this->
sendMail(array($rcp),array(
'system'));
382 case self::TYPE_WAITING_LIST_MEMBER:
401 $this->
getMail()->appendInstallationSignature(
true);
402 $this->
sendMail(array($rcp),array(
'system'));
433 if($part->isAdmin($a_usr_id))
438 elseif($part->isTutor($a_usr_id))
447 if($part->isAdmin($a_usr_id) or $part->isTutor($a_usr_id))
451 if($part->isNotificationEnabled($a_usr_id))
464 if($part->isBlocked($a_usr_id))
476 if($part->hasPassed($a_usr_id))