ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
Public Member Functions | |
__construct (ilForumNotificationMailData $provider, ilLogger $logger) | |
sendMail (array $a_rcp, bool $a_parse_recipients=true) | |
send () | |
isCronjob () | |
setIsCronjob (bool $is_cronjob) | |
![]() | |
__construct (bool $a_is_personal_workspace=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 () | |
Protected Member Functions | |
initMail () | |
setSubject (string $a_subject) | |
initLanguage (int $a_usr_id) | |
![]() | |
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 | |
ilForumNotificationMailData | $provider |
ilLogger | $logger |
bool | $is_cronjob = false |
![]() | |
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 = [] |
bool | $is_in_wsp |
ilWorkspaceTree | $wsp_tree |
ilWorkspaceAccessHandler | $wsp_access_handler |
Private Member Functions | |
getPermanentLink (string $type=self::PERMANENT_LINK_POST) | |
getPostMessage () | |
createMailValueObjectsWithAttachments (string $subjectLanguageId, int $recipientUserId, string $customText, string $action, string $date='') | |
Add body and send mail with attachments. More... | |
createMailValueObjectWithoutAttachments (string $subjectLanguageId, int $recipientUserId, string $customText, string $action, string $date='') | |
Add body and send mail without attachments. More... | |
createMailBodyText (string $subject, int $userId, string $customText, string $action, string $date) | |
createAttachmentText () | |
createAttachmentLinkText () | |
addMailSubject (string $subject) | |
createMailDate (string $date) | |
createSubjectText (string $subject) | |
Private Attributes | |
const | TYPE_THREAD_DELETED = 54 |
const | TYPE_POST_NEW = 60 |
const | TYPE_POST_ACTIVATION = 61 |
const | TYPE_POST_UPDATED = 62 |
const | TYPE_POST_CENSORED = 63 |
const | TYPE_POST_DELETED = 64 |
const | TYPE_POST_ANSWERED = 65 |
const | TYPE_POST_UNCENSORED = 66 |
const | PERMANENT_LINK_POST = 'PL_Post' |
const | PERMANENT_LINK_FORUM = 'PL_Forum' |
Additional Inherited Members | |
![]() | |
const | SUBJECT_TITLE_LENGTH = 60 |
Definition at line 24 of file class.ilForumMailEventNotificationSender.php.
ilForumMailEventNotificationSender::__construct | ( | ilForumNotificationMailData | $provider, |
ilLogger | $logger | ||
) |
Definition at line 41 of file class.ilForumMailEventNotificationSender.php.
References $logger, $provider, ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\Repository\logger().
|
private |
Definition at line 483 of file class.ilForumMailEventNotificationSender.php.
References createSubjectText(), initMail(), and setSubject().
Referenced by createMailBodyText().
|
private |
Definition at line 475 of file class.ilForumMailEventNotificationSender.php.
References ilMailNotification\$body, ilMail\_getInstallationSignature(), and getPermanentLink().
Referenced by createMailValueObjectsWithAttachments().
|
private |
Definition at line 461 of file class.ilForumMailEventNotificationSender.php.
References ilMailNotification\getLanguageText(), and ILIAS\Repository\logger().
Referenced by createMailValueObjectsWithAttachments().
|
private |
Definition at line 414 of file class.ilForumMailEventNotificationSender.php.
References ilMailNotification\$body, $message, addMailSubject(), createMailDate(), ilMailNotification\getLanguage(), ilMailNotification\getLanguageText(), getPostMessage(), and ilMail\getSalutation().
Referenced by createMailValueObjectsWithAttachments(), and createMailValueObjectWithoutAttachments().
|
private |
Definition at line 490 of file class.ilForumMailEventNotificationSender.php.
References ilDatePresentation\formatDate(), IL_CAL_DATETIME, ILIAS\UI\examples\Symbol\Glyph\Language\language(), and ilDatePresentation\setLanguage().
Referenced by createMailBodyText().
|
private |
Add body and send mail with attachments.
string | $subjectLanguageId | - Language id of subject |
int | $recipientUserId | - id of the user recipient of the mail |
string | $customText | - mail text after salutation |
string | $action | - Language id of action |
string | $date | - date to be added in mail |
Definition at line 339 of file class.ilForumMailEventNotificationSender.php.
References ilObjUser\_lookupLogin(), createAttachmentLinkText(), createAttachmentText(), createMailBodyText(), createSubjectText(), and ilStr\strLen().
Referenced by send().
|
private |
Add body and send mail without attachments.
string | $subjectLanguageId | - Language id of subject |
int | $recipientUserId | |
string | $customText | - mail text after salutation |
string | $action | - Language id of action |
string | $date | - date to be added in mail |
Definition at line 384 of file class.ilForumMailEventNotificationSender.php.
References ilObjUser\_lookupLogin(), createMailBodyText(), createSubjectText(), and ilStr\strLen().
Referenced by send().
|
private |
Definition at line 501 of file class.ilForumMailEventNotificationSender.php.
References ilMailNotification\getLanguageText().
Referenced by addMailSubject(), createMailValueObjectsWithAttachments(), and createMailValueObjectWithoutAttachments().
|
private |
Definition at line 279 of file class.ilForumMailEventNotificationSender.php.
References $DIC, ilMailNotification\$type, ilUtil\_getHttpPath(), CLIENT_ID, ilMailNotification\getLanguageText(), and ILIAS\Repository\logger().
Referenced by createAttachmentLinkText().
|
private |
Definition at line 315 of file class.ilForumMailEventNotificationSender.php.
Referenced by createMailBodyText().
|
protected |
Definition at line 263 of file class.ilForumMailEventNotificationSender.php.
References ILIAS\UI\examples\Symbol\Glyph\Language\language().
Referenced by send().
|
protected |
Definition at line 48 of file class.ilForumMailEventNotificationSender.php.
References ilMailNotification\$mail, and ILIAS\Repository\logger().
Referenced by addMailSubject().
ilForumMailEventNotificationSender::isCronjob | ( | ) |
Definition at line 269 of file class.ilForumMailEventNotificationSender.php.
References $is_cronjob.
ilForumMailEventNotificationSender::send | ( | ) |
Definition at line 74 of file class.ilForumMailEventNotificationSender.php.
References $DIC, $ilSetting, $lng, ANONYMOUS_USER_ID, createMailValueObjectsWithAttachments(), createMailValueObjectWithoutAttachments(), ilMailFormCall\getContextId(), ilMailFormCall\getContextParameters(), ilMailNotification\getLanguageText(), ilMailNotification\getRecipients(), ilMailNotification\getType(), initLanguage(), ILIAS\Repository\logger(), ilDatePresentation\setLanguage(), ilDatePresentation\setUseRelativeDates(), and ilDatePresentation\useRelativeDates().
ilForumMailEventNotificationSender::sendMail | ( | array | $a_rcp, |
bool | $a_parse_recipients = true |
||
) |
Definition at line 56 of file class.ilForumMailEventNotificationSender.php.
References ILIAS\Repository\logger().
ilForumMailEventNotificationSender::setIsCronjob | ( | bool | $is_cronjob | ) |
Definition at line 274 of file class.ilForumMailEventNotificationSender.php.
References $is_cronjob.
|
protected |
Definition at line 66 of file class.ilForumMailEventNotificationSender.php.
References ILIAS\Repository\logger().
Referenced by addMailSubject().
|
protected |
Definition at line 39 of file class.ilForumMailEventNotificationSender.php.
Referenced by isCronjob(), and setIsCronjob().
|
protected |
Definition at line 38 of file class.ilForumMailEventNotificationSender.php.
Referenced by __construct().
|
protected |
Definition at line 37 of file class.ilForumMailEventNotificationSender.php.
Referenced by __construct().
|
private |
Definition at line 35 of file class.ilForumMailEventNotificationSender.php.
|
private |
Definition at line 34 of file class.ilForumMailEventNotificationSender.php.
|
private |
Definition at line 28 of file class.ilForumMailEventNotificationSender.php.
|
private |
Definition at line 32 of file class.ilForumMailEventNotificationSender.php.
|
private |
Definition at line 30 of file class.ilForumMailEventNotificationSender.php.
|
private |
Definition at line 31 of file class.ilForumMailEventNotificationSender.php.
|
private |
Definition at line 27 of file class.ilForumMailEventNotificationSender.php.
|
private |
Definition at line 33 of file class.ilForumMailEventNotificationSender.php.
|
private |
Definition at line 29 of file class.ilForumMailEventNotificationSender.php.
|
private |
Definition at line 26 of file class.ilForumMailEventNotificationSender.php.