4 include_once
'./Services/Mail/classes/class.ilMailNotification.php';
25 parent::__construct();
35 case self::TYPE_NOTIFICATION_APPROVERS:
59 $this->
getMail()->appendInstallationSignature(
true);
60 $this->
getMail()->enableSoap(
false);
61 $this->
sendMail(array($rcp), array(
'system'));
65 case self::TYPE_NOTIFICATION_CONFIRMATION:
89 include_once
"Services/Link/classes/class.ilLink.php";
95 $this->
getMail()->appendInstallationSignature(
true);
96 $this->
getMail()->enableSoap(
false);
97 $this->
sendMail(array($rcp), array(
'system'));
110 parent::initLanguage($a_usr_id);
111 $this->
getLanguage()->loadLanguageModule(
'registration');
getType()
Get notification type.
__construct()
Default constructor.
static _getStaticLink( $a_ref_id, $a_type='', $a_fallback_goto=true, $append="")
Get static link.
getLanguageText($a_keyword)
getAdditionalInformation()
const TYPE_NOTIFICATION_APPROVERS
Base class for course/group mail notifications.
sendMail(array $a_rcp, $a_type, $a_parse_recipients=true)
getRecipients()
get array of recipients
send()
Parse and send mail.
appendBody($a_body)
Append body text.
initLanguage($a_usr_id)
Add language module registration.
const TYPE_NOTIFICATION_CONFIRMATION
static getSalutation($a_usr_id, ilLanguage $a_language=null)