4 include_once
'./Services/Mail/classes/class.ilMailNotification.php';
37 parent::__construct();
51 case self::TYPE_ADMISSION_MEMBER:
54 if (!$ilSetting->get(
'mail_grp_member_notification',
false)) {
73 $this->
getMail()->appendInstallationSignature(
true);
79 case self::TYPE_DISMISS_MEMBER:
82 if (!$ilSetting->get(
'mail_grp_member_notification',
false)) {
97 $this->
getMail()->appendInstallationSignature(
true);
105 case self::TYPE_SUBSCRIBE_MEMBER:
123 $this->
getMail()->appendInstallationSignature(
true);
130 case self::TYPE_NOTIFICATION_REGISTRATION_REQUEST:
157 $this->
getMail()->appendInstallationSignature(
true);
162 case self::TYPE_REFUSED_SUBSCRIPTION_MEMBER:
176 $this->
getMail()->appendInstallationSignature(
true);
182 case self::TYPE_ACCEPTED_SUBSCRIPTION_MEMBER:
199 $this->
getMail()->appendInstallationSignature(
true);
216 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
static getSalutation($a_usr_id, ilLanguage $a_language=null)