2 require_once
'Services/Mail/classes/class.ilMailNotification.php';
3 require_once
'Modules/IndividualAssessment/interfaces/Notification/interface.ilIndividualAssessmentNotificator.php';
16 parent::__construct();
25 $clone->reciever = $member;
26 $clone->ref_id = $member->
assessment()->getRefId();
35 $clone->occasion = self::OCCASION_FAILED;
44 $clone->occasion = self::OCCASION_COMPLETED;
57 $subject = $this->occasion === self::OCCASION_COMPLETED
60 $message = $this->occasion === self::OCCASION_COMPLETED
63 $assessment_title = $this->reciever->assessment()->getTitle();
69 $this->
appendBody(sprintf($message, $assessment_title));
74 $this->
getMail()->appendInstallationSignature(
true);
assessment()
Get the ilObjIndividualAssessment corresponding to this membership.
getLanguageText($a_keyword)
initLanguage($a_usr_id)
Init language.
withReciever(ilIndividualAssessmentMember $member)
Define the member, that should recieve the message.ilIndividualAssessmentNotificator $this ...
Notificate user using internal mail system.
Base class for course/group mail notifications.
withOccasionCompleted()
Set message mode to completed.ilIndividualAssessmentNotificator $this
Basic method collection should be implemented by a notificator used by Individual assessment...
setLangModules(array $a_modules)
Set lang modules.
Create styles array
The data for the language used.
sendMail(array $a_rcp, $a_type, $a_parse_recipients=true)
Edit the record of a user, set LP.
createPermanentLink($a_params=array(), $a_append='')
appendBody($a_body)
Append body text.
withOccasionFailed()
Set message mode to failed.ilIndividualAssessmentNotificator $this