4 include_once
'./Services/Mail/classes/class.ilMailNotification.php';
37 parent::__construct();
52 case self::TYPE_ADMISSION_MEMBER:
55 if(!$ilSetting->get(
'mail_grp_member_notification',
false))
76 $this->
getMail()->appendInstallationSignature(
true);
82 case self::TYPE_DISMISS_MEMBER:
85 if(!$ilSetting->get(
'mail_grp_member_notification',
false))
102 $this->
getMail()->appendInstallationSignature(
true);
110 case self::TYPE_SUBSCRIBE_MEMBER:
129 $this->
getMail()->appendInstallationSignature(
true);
136 case self::TYPE_NOTIFICATION_REGISTRATION_REQUEST:
163 $this->
getMail()->appendInstallationSignature(
true);
168 case self::TYPE_REFUSED_SUBSCRIPTION_MEMBER:
183 $this->
getMail()->appendInstallationSignature(
true);
189 case self::TYPE_ACCEPTED_SUBSCRIPTION_MEMBER:
207 $this->
getMail()->appendInstallationSignature(
true);
224 parent::initLanguage($a_usr_id);
getType()
Get notification type.
const TYPE_NOTIFICATION_REGISTRATION_REQUEST
const TYPE_DISMISS_MEMBER
initLanguage($a_usr_id)
Add language module crs.
getLanguageText($a_keyword)
const TYPE_SUBSCRIBE_MEMBER
const TYPE_BLOCKED_MEMBER
const TYPE_UNSUBSCRIBE_MEMBER
getAdditionalInformation()
Base class for course/group mail notifications.
getObjectTitle($a_shorten=false)
const TYPE_NOTIFICATION_REGISTRATION
const TYPE_ADMISSION_MEMBER
Create styles array
The data for the language used.
sendMail(array $a_rcp, $a_type, $a_parse_recipients=true)
send()
Send notifications.
getRecipients()
get array of recipients
const TYPE_REFUSED_SUBSCRIPTION_MEMBER
createPermanentLink($a_params=array(), $a_append='')
const TYPE_ACCEPTED_SUBSCRIPTION_MEMBER
const TYPE_UNBLOCKED_MEMBER
appendBody($a_body)
Append body text.
const TYPE_NOTIFICATION_UNSUBSCRIBE