4 include_once
'./Services/Mail/classes/class.ilMailNotification.php';
22 parent::__construct();
32 $this->ass_id = $a_val;
55 include_once(
"./Modules/Exercise/classes/class.ilExAssignment.php");
59 case self::TYPE_FEEDBACK_FILE_ADDED:
85 $this->
getMail()->appendInstallationSignature(
true);
87 $this->
sendMail(array($rcp),array(
'system'));
91 case self::TYPE_SUBMISSION_UPLOAD:
112 $ilUser->getFullName());
116 $this->
getMail()->appendInstallationSignature(
true);
118 $this->
sendMail(array($rcp),array(
'system'));
132 parent::initLanguage($a_usr_id);
getLanguage()
get language object
getType()
Get notification type.
setBody($a_body)
Set mail body.
const TYPE_SUBMISSION_UPLOAD
setAssignmentId($a_val)
Set assignment id.
sendMail($a_rcp, $a_type, $a_parse_recipients=true)
Send Mail.
getLanguageText($a_keyword)
Replace new lines.
setSubject($a_subject)
Set mail subject.
getAssignmentId()
Get assignment id.
const TYPE_FEEDBACK_FILE_ADDED
Base class for course/group mail notifications.
getObjectTitle($a_shorten=false)
Get object title.
static getSalutation($a_usr_id, $a_language=null)
Get salutation.
initLanguage($a_usr_id)
Add language module exc.
getRecipients()
get array of recipients
createPermanentLink($a_params=array(), $a_append='')
Create a permanent link for an object.
appendBody($a_body)
Append body text.
getMail()
Get mail object.
send()
Send notifications.
static lookupTitle($a_id)
Lookup title.