ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Public Member Functions | |
__construct (protected bool $is_in_wsp=false) | |
setType (int $a_type) | |
getType () | |
setSender (int $a_usr_id) | |
getSender () | |
setRecipients (array $a_rcp) | |
getRecipients () | |
setAttachments (array $a_att) | |
getAttachments () | |
setLangModules (array $a_modules) | |
getUserLanguage (int $a_usr_id) | |
setRefId (int $a_id) | |
getRefId () | |
getObjId () | |
setObjId (int $a_obj_id) | |
getObjType () | |
setAdditionalInformation (array $a_info) | |
getAdditionalInformation () | |
sendMail (array $a_rcp, bool $a_parse_recipients=true) | |
getBlockBorder () | |
Data Fields | |
final const int | SUBJECT_TITLE_LENGTH = 60 |
Protected Member Functions | |
setSubject (string $a_subject) | |
getSubject () | |
setBody (string $a_body) | |
appendBody (string $a_body) | |
getBody () | |
initLanguage (int $a_usr_id) | |
initLanguageByIso2Code (string $a_code='') | |
setLanguage (ilLanguage $a_language) | |
getLanguage () | |
getLanguageText (string $a_keyword) | |
getObjectTitle (bool $a_shorten=false) | |
initMail () | |
getMail () | |
createPermanentLink (array $a_params=[], string $a_append='') | |
userToString (int $a_usr_id) | |
isRefIdAccessible (int $a_user_id, int $a_ref_id, string $a_permission='read') | |
Protected Attributes | |
int | $type |
int | $sender |
ilMail | $mail = null |
string | $subject = '' |
string | $body = '' |
array | $attachments = [] |
ilLanguage | $language |
array | $lang_modules = [] |
array | $recipients = [] |
int | $ref_id |
int | $obj_id = 0 |
string | $obj_type = '' |
array | $additional_info = [] |
ilWorkspaceTree | $wsp_tree |
ilWorkspaceAccessHandler | $wsp_access_handler |
Definition at line 21 of file class.ilMailNotification.php.
ilMailNotification::__construct | ( | protected bool | $is_in_wsp = false | ) |
Reimplemented in ilSystemNotification.
Definition at line 41 of file class.ilMailNotification.php.
References $DIC, ilLanguageFactory\_getLanguage(), ANONYMOUS_USER_ID, ILIAS\UI\examples\Symbol\Glyph\Language\language(), and setSender().
|
protected |
Reimplemented in ilDataCollectionMailNotification.
Definition at line 92 of file class.ilMailNotification.php.
Referenced by ilExerciseMailNotification\addOpenSubmission(), ilCalendarMailNotification\appendAppointmentDetails(), ilForumMailNotification\appendAttachments(), ILIAS\Portfolio\Notification\SharedNotification\appendObjectInformation(), ilTestManScoringParticipantNotification\buildBody(), ilCalendarMailNotification\send(), ilCourseMembershipMailNotification\send(), ilExerciseMailNotification\send(), ilGroupMembershipMailNotification\send(), ilLMMailNotification\send(), ilLearningSequenceMembershipMailNotification\send(), ILIAS\Mail\Autoresponder\AutoresponderNotification\send(), ilMailSummaryNotification\send(), ILIAS\Mail\Cron\ExpiredOrOrphanedMails\MailNotification\send(), ILIAS\Portfolio\Notification\SharedNotification\send(), ilRegistrationMailNotification\send(), ilSessionMembershipMailNotification\send(), ilTestMailNotification\sendAdvancedNotification(), ILIAS\User\Profile\ChangeMail\Mail\sendEmailToExistingAddress(), ILIAS\User\Profile\ChangeMail\Mail\sendEmailToNewEmailAddress(), ILIAS\LegalDocuments\ConsumerToolbox\Mail\sendGeneric(), and ilTestMailNotification\sendSimpleNotification().
|
protected |
Definition at line 259 of file class.ilMailNotification.php.
References ilWorkspaceAccessHandler\getGotoLink(), getObjId(), getObjType(), getRefId(), and ROOT_FOLDER_ID.
Referenced by ilCalendarMailNotification\send(), ilCourseMembershipMailNotification\send(), ilGroupMembershipMailNotification\send(), ilLMMailNotification\send(), ilLearningSequenceMembershipMailNotification\send(), and ilSessionMembershipMailNotification\send().
ilMailNotification::getAdditionalInformation | ( | ) |
Definition at line 208 of file class.ilMailNotification.php.
References $additional_info.
Referenced by ilTestManScoringParticipantNotification\buildBody(), ilTestManScoringParticipantNotification\buildSubject(), ilCourseMembershipMailNotification\send(), ilGroupMembershipMailNotification\send(), ilLearningSequenceMembershipMailNotification\send(), ilRegistrationMailNotification\send(), and ilSessionMembershipMailNotification\send().
ilMailNotification::getAttachments | ( | ) |
Definition at line 117 of file class.ilMailNotification.php.
References $attachments.
Referenced by ilCalendarMailNotification\deleteAttachments(), and sendMail().
ilMailNotification::getBlockBorder | ( | ) |
Definition at line 312 of file class.ilMailNotification.php.
|
protected |
Definition at line 97 of file class.ilMailNotification.php.
References $body.
Referenced by ilMailSummaryNotification\send(), sendMail(), and ilMimeMailNotification\sendMimeMail().
|
protected |
Definition at line 159 of file class.ilMailNotification.php.
References $language.
Referenced by ilTestManScoringParticipantNotification\__construct(), ILIAS\Portfolio\Notification\SharedNotification\appendObjectInformation(), ilTestManScoringParticipantNotification\buildBody(), ILIAS\Mail\Cron\ExpiredOrOrphanedMails\MailNotification\buildFolderTitle(), getLanguageText(), ilCourseMembershipMailNotification\initLanguage(), ilGroupMembershipMailNotification\initLanguage(), ilLMMailNotification\initLanguage(), ilMimeMailNotification\initLanguage(), ILIAS\Portfolio\Notification\SharedNotification\initLanguage(), ilRegistrationMailNotification\initLanguage(), ilSessionMembershipMailNotification\initLanguage(), ilCronDeleteInactiveUserReminderMailNotification\initLanguage(), ilLearningSequenceMembershipMailNotification\initLanguage(), ilMimeMailNotification\initLanguageByIso2Code(), ILIAS\Mail\Cron\ExpiredOrOrphanedMails\MailNotification\initLanguageByIso2Code(), ilCalendarMailNotification\send(), ilCourseMembershipMailNotification\send(), ilExerciseMailNotification\send(), ilGroupMembershipMailNotification\send(), ilLMMailNotification\send(), ilLearningSequenceMembershipMailNotification\send(), ILIAS\Mail\Autoresponder\AutoresponderNotification\send(), ilMailSummaryNotification\send(), ILIAS\Mail\Cron\ExpiredOrOrphanedMails\MailNotification\send(), ILIAS\Portfolio\Notification\SharedNotification\send(), ilRegistrationMailNotification\send(), ilSessionMembershipMailNotification\send(), ilTestMailNotification\sendAdvancedNotification(), and ilTestMailNotification\sendSimpleNotification().
|
protected |
Definition at line 164 of file class.ilMailNotification.php.
References getLanguage().
Referenced by ilExerciseMailNotification\addOpenSubmission(), ilForumMailNotification\appendAttachments(), ilTestManScoringParticipantNotification\buildBody(), ilTestManScoringParticipantNotification\buildSubject(), ilCourseMembershipMailNotification\createCourseStatus(), ilGroupMembershipMailNotification\createGroupStatus(), ilLearningSequenceMembershipMailNotification\createLearningSequenceStatus(), ilForumMailNotification\getPermanentLink(), ilForumMailEventNotificationSender\getPermanentLink(), ilCalendarMailNotification\send(), ilCourseMembershipMailNotification\send(), ilExerciseMailNotification\send(), ilForumMailNotification\send(), ilForumMailEventNotificationSender\send(), ilGroupMembershipMailNotification\send(), ilLMMailNotification\send(), ilLearningSequenceMembershipMailNotification\send(), ilMailSummaryNotification\send(), ILIAS\Portfolio\Notification\SharedNotification\send(), ilRegistrationMailNotification\send(), and ilSessionMembershipMailNotification\send().
|
protected |
Definition at line 254 of file class.ilMailNotification.php.
References initMail().
Referenced by ilTestManScoringParticipantNotification\buildBody(), ilCalendarMailNotification\send(), ilCourseMembershipMailNotification\send(), ilDataCollectionMailNotification\send(), ilExerciseMailNotification\send(), ilGroupMembershipMailNotification\send(), ilLMMailNotification\send(), ilLearningSequenceMembershipMailNotification\send(), ILIAS\Mail\Autoresponder\AutoresponderNotification\send(), ILIAS\Portfolio\Notification\SharedNotification\send(), ilRegistrationMailNotification\send(), ilSessionMembershipMailNotification\send(), ilTestMailNotification\sendAdvancedNotification(), sendMail(), and ilTestMailNotification\sendSimpleNotification().
|
protected |
Definition at line 213 of file class.ilMailNotification.php.
References $txt, ilObject\_lookupTitle(), getObjId(), and ilStr\shortenTextExtended().
Referenced by ilCalendarMailNotification\send(), ilCourseMembershipMailNotification\send(), ilExerciseMailNotification\send(), ilGroupMembershipMailNotification\send(), ilLMMailNotification\send(), ilLearningSequenceMembershipMailNotification\send(), ILIAS\Portfolio\Notification\SharedNotification\send(), and ilSessionMembershipMailNotification\send().
ilMailNotification::getObjId | ( | ) |
Definition at line 187 of file class.ilMailNotification.php.
References $obj_id.
Referenced by ilCourseMembershipMailNotification\createCourseStatus(), ilGroupMembershipMailNotification\createGroupStatus(), ilLearningSequenceMembershipMailNotification\createLearningSequenceStatus(), createPermanentLink(), getObjectTitle(), ilDataCollectionMailNotification\send(), and ILIAS\Portfolio\Notification\SharedNotification\send().
ilMailNotification::getObjType | ( | ) |
Definition at line 198 of file class.ilMailNotification.php.
References $obj_type.
Referenced by createPermanentLink().
ilMailNotification::getRecipients | ( | ) |
Definition at line 107 of file class.ilMailNotification.php.
References $recipients.
Referenced by ilTestManScoringParticipantNotification\getRecipient(), ilCalendarMailNotification\send(), ilCourseMembershipMailNotification\send(), ilExerciseMailNotification\send(), ilForumMailNotification\send(), ilForumMailEventNotificationSender\send(), ilGroupMembershipMailNotification\send(), ilLMMailNotification\send(), ilLearningSequenceMembershipMailNotification\send(), ILIAS\Mail\Autoresponder\AutoresponderNotification\send(), ILIAS\Mail\Cron\ExpiredOrOrphanedMails\MailNotification\send(), ilRegistrationMailNotification\send(), ilTestManScoringParticipantNotification\send(), ilSessionMembershipMailNotification\send(), and ILIAS\LegalDocuments\ConsumerToolbox\Mail\sendGeneric().
ilMailNotification::getRefId | ( | ) |
Definition at line 182 of file class.ilMailNotification.php.
References $ref_id.
Referenced by createPermanentLink(), ilCourseMembershipMailNotification\initMail(), ilGroupMembershipMailNotification\initMail(), ilCalendarMailNotification\send(), ilCourseMembershipMailNotification\send(), ilDataCollectionMailNotification\send(), ilGroupMembershipMailNotification\send(), and setRefId().
ilMailNotification::getSender | ( | ) |
Definition at line 68 of file class.ilMailNotification.php.
References $sender.
Referenced by ilCalendarMailNotification\addAttachment(), ilCalendarMailNotification\deleteAttachments(), and initMail().
|
protected |
Definition at line 82 of file class.ilMailNotification.php.
References $subject.
Referenced by ilMailSummaryNotification\send(), sendMail(), and ilMimeMailNotification\sendMimeMail().
ilMailNotification::getType | ( | ) |
Definition at line 58 of file class.ilMailNotification.php.
References $type.
Referenced by ilDataCollectionMailNotification\getAction(), ilCalendarMailNotification\send(), ilCourseMembershipMailNotification\send(), ilExerciseMailNotification\send(), ilForumMailNotification\send(), ilForumMailEventNotificationSender\send(), ilGroupMembershipMailNotification\send(), ilLMMailNotification\send(), ilLearningSequenceMembershipMailNotification\send(), ilRegistrationMailNotification\send(), and ilSessionMembershipMailNotification\send().
ilMailNotification::getUserLanguage | ( | int | $a_usr_id | ) |
Definition at line 132 of file class.ilMailNotification.php.
References $language, ilLanguageFactory\_getLanguageOfUser(), and ilLanguage\loadLanguageModule().
Referenced by initLanguage().
|
protected |
Reimplemented in ilCourseMembershipMailNotification, ilExerciseMailNotification, ilForumMailNotification, ilForumMailEventNotificationSender, ilGroupMembershipMailNotification, ilLMMailNotification, ilMimeMailNotification, ILIAS\Portfolio\Notification\SharedNotification, ilRegistrationMailNotification, ilSessionMembershipMailNotification, ilCronDeleteInactiveUserReminderMailNotification, and ilLearningSequenceMembershipMailNotification.
Definition at line 127 of file class.ilMailNotification.php.
References getUserLanguage(), and ILIAS\UI\examples\Symbol\Glyph\Language\language().
Referenced by ilTestManScoringParticipantNotification\__construct(), ilCalendarMailNotification\send(), ILIAS\Mail\Autoresponder\AutoresponderNotification\send(), ilMailSummaryNotification\send(), ilTestMailNotification\sendAdvancedNotification(), and ilTestMailNotification\sendSimpleNotification().
|
protected |
Reimplemented in ilMimeMailNotification, and ILIAS\Mail\Cron\ExpiredOrOrphanedMails\MailNotification.
Definition at line 144 of file class.ilMailNotification.php.
References ilLanguageFactory\_getLanguage(), and ILIAS\UI\examples\Symbol\Glyph\Language\language().
|
protected |
Reimplemented in ilCourseMembershipMailNotification, ilForumMailNotification, ilForumMailEventNotificationSender, and ilGroupMembershipMailNotification.
Definition at line 249 of file class.ilMailNotification.php.
References getSender().
Referenced by ilTestManScoringParticipantNotification\__construct(), getMail(), ilCalendarMailNotification\send(), ilDataCollectionMailNotification\send(), ilExerciseMailNotification\send(), ilLMMailNotification\send(), ilLearningSequenceMembershipMailNotification\send(), ILIAS\Mail\Autoresponder\AutoresponderNotification\send(), ilMailSummaryNotification\send(), ILIAS\Portfolio\Notification\SharedNotification\send(), ilRegistrationMailNotification\send(), ilSessionMembershipMailNotification\send(), ilTestMailNotification\sendAdvancedNotification(), and ilTestMailNotification\sendSimpleNotification().
|
protected |
Definition at line 278 of file class.ilMailNotification.php.
References $DIC.
ilMailNotification::sendMail | ( | array | $a_rcp, |
bool | $a_parse_recipients = true |
||
) |
Reimplemented in ilForumMailNotification, and ilForumMailEventNotificationSender.
Definition at line 225 of file class.ilMailNotification.php.
References $recipients, ilObjUser\_lookupLogin(), ilLogLevel\ERROR, getAttachments(), getBody(), ilLoggerFactory\getLogger(), getMail(), and getSubject().
Referenced by ilCalendarMailNotification\send(), ilCourseMembershipMailNotification\send(), ilDataCollectionMailNotification\send(), ilExerciseMailNotification\send(), ilGroupMembershipMailNotification\send(), ilLMMailNotification\send(), ilLearningSequenceMembershipMailNotification\send(), ILIAS\Mail\Autoresponder\AutoresponderNotification\send(), ILIAS\Portfolio\Notification\SharedNotification\send(), ilRegistrationMailNotification\send(), ilTestManScoringParticipantNotification\send(), ilSessionMembershipMailNotification\send(), ilTestMailNotification\sendAdvancedNotification(), and ilTestMailNotification\sendSimpleNotification().
ilMailNotification::setAdditionalInformation | ( | array | $a_info | ) |
Definition at line 203 of file class.ilMailNotification.php.
ilMailNotification::setAttachments | ( | array | $a_att | ) |
Definition at line 112 of file class.ilMailNotification.php.
Referenced by ilCalendarMailNotification\addAttachment(), ilForumMailNotification\appendAttachments(), and ilTestMailNotification\sendAdvancedNotification().
|
protected |
Definition at line 87 of file class.ilMailNotification.php.
Referenced by ilTestManScoringParticipantNotification\buildBody(), ilCalendarMailNotification\send(), ilCourseMembershipMailNotification\send(), ilDataCollectionMailNotification\send(), ilExerciseMailNotification\send(), ilGroupMembershipMailNotification\send(), ilLMMailNotification\send(), ilLearningSequenceMembershipMailNotification\send(), ILIAS\Mail\Autoresponder\AutoresponderNotification\send(), ilMailSummaryNotification\send(), ILIAS\Portfolio\Notification\SharedNotification\send(), ilRegistrationMailNotification\send(), ilSessionMembershipMailNotification\send(), ilTestMailNotification\sendAdvancedNotification(), ILIAS\User\Profile\ChangeMail\Mail\sendEmailToExistingAddress(), ILIAS\User\Profile\ChangeMail\Mail\sendEmailToNewEmailAddress(), and ilTestMailNotification\sendSimpleNotification().
ilMailNotification::setLangModules | ( | array | $a_modules | ) |
Definition at line 122 of file class.ilMailNotification.php.
Referenced by ilIndividualAssessmentPrimitiveInternalNotificator\__construct().
|
protected |
Definition at line 154 of file class.ilMailNotification.php.
References ILIAS\UI\examples\Symbol\Glyph\Language\language().
Referenced by ilCalendarMailNotification\send().
ilMailNotification::setObjId | ( | int | $a_obj_id | ) |
Definition at line 192 of file class.ilMailNotification.php.
References ilObject\_lookupType().
Referenced by setRefId().
ilMailNotification::setRecipients | ( | array | $a_rcp | ) |
Definition at line 102 of file class.ilMailNotification.php.
Referenced by ILIAS\Mail\Autoresponder\AutoresponderNotification\__construct(), ilMailSummaryNotification\send(), and ilTestManScoringParticipantNotification\setRecipient().
ilMailNotification::setRefId | ( | int | $a_id | ) |
Definition at line 169 of file class.ilMailNotification.php.
References $obj_id, ilObject\_lookupObjId(), getRefId(), and setObjId().
Referenced by ilTestManScoringParticipantNotification\__construct().
ilMailNotification::setSender | ( | int | $a_usr_id | ) |
Definition at line 63 of file class.ilMailNotification.php.
Referenced by ILIAS\Mail\Autoresponder\AutoresponderNotification\__construct(), and __construct().
|
protected |
Reimplemented in ilForumMailNotification, ilForumMailEventNotificationSender, and ilMimeMailNotification.
Definition at line 73 of file class.ilMailNotification.php.
References ilStr\strLen(), and ilStr\subStr().
Referenced by ilTestManScoringParticipantNotification\buildSubject(), ilCalendarMailNotification\send(), ilCourseMembershipMailNotification\send(), ilDataCollectionMailNotification\send(), ilExerciseMailNotification\send(), ilGroupMembershipMailNotification\send(), ilLMMailNotification\send(), ilLearningSequenceMembershipMailNotification\send(), ILIAS\Mail\Autoresponder\AutoresponderNotification\send(), ilMailSummaryNotification\send(), ILIAS\Portfolio\Notification\SharedNotification\send(), ilRegistrationMailNotification\send(), ilSessionMembershipMailNotification\send(), ilTestMailNotification\sendAdvancedNotification(), and ilTestMailNotification\sendSimpleNotification().
ilMailNotification::setType | ( | int | $a_type | ) |
Definition at line 53 of file class.ilMailNotification.php.
|
protected |
Definition at line 270 of file class.ilMailNotification.php.
References ilObjUser\_lookupName().
Referenced by ilCourseMembershipMailNotification\send(), ilGroupMembershipMailNotification\send(), ilLearningSequenceMembershipMailNotification\send(), and ilSessionMembershipMailNotification\send().
|
protected |
Definition at line 37 of file class.ilMailNotification.php.
Referenced by getAdditionalInformation().
|
protected |
Definition at line 30 of file class.ilMailNotification.php.
Referenced by getAttachments().
|
protected |
|
protected |
Definition at line 32 of file class.ilMailNotification.php.
|
protected |
Definition at line 31 of file class.ilMailNotification.php.
Referenced by getLanguage(), and getUserLanguage().
|
protected |
|
protected |
Definition at line 35 of file class.ilMailNotification.php.
Referenced by ILIAS\Portfolio\Notification\SharedNotification\appendObjectInformation(), getObjId(), and setRefId().
|
protected |
Definition at line 36 of file class.ilMailNotification.php.
Referenced by getObjType().
|
protected |
Definition at line 33 of file class.ilMailNotification.php.
Referenced by getRecipients(), and sendMail().
|
protected |
Definition at line 34 of file class.ilMailNotification.php.
Referenced by getRefId().
|
protected |
Definition at line 26 of file class.ilMailNotification.php.
Referenced by getSender(), and ilMailSummaryNotification\send().
|
protected |
Definition at line 28 of file class.ilMailNotification.php.
Referenced by getSubject().
|
protected |
Definition at line 25 of file class.ilMailNotification.php.
Referenced by ilExerciseMailNotification\addOpenSubmission(), ILIAS\Portfolio\Notification\SharedNotification\appendObjectInformation(), ilForumMailNotification\getPermanentLink(), ilForumMailEventNotificationSender\getPermanentLink(), getType(), and ilLearningSequenceMembershipMailNotification\isNotificationTypeEnabled().
|
protected |
Definition at line 39 of file class.ilMailNotification.php.
|
protected |
Definition at line 38 of file class.ilMailNotification.php.
final const int ilMailNotification::SUBJECT_TITLE_LENGTH = 60 |
Definition at line 23 of file class.ilMailNotification.php.