|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Inheritance diagram for ilForumMailNotification:
Collaboration diagram for ilForumMailNotification:Public Member Functions | |
| __construct (private ilForumNotificationMailData $provider, private ilLogger $logger) | |
| sendMail (array $a_rcp, bool $a_parse_recipients=true) | |
| send () | |
| isCronjob () | |
| setIsCronjob (bool $is_cronjob) | |
Public Member Functions inherited from ilMailNotification | |
| __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 | |
| 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 |
Data Fields inherited from ilMailNotification | |
| final const | SUBJECT_TITLE_LENGTH = 60 |
Protected Member Functions | |
| initMail () | |
| setSubject (string $a_subject) | |
| appendAttachments () | |
| initLanguage (int $a_usr_id) | |
Protected Member Functions inherited from ilMailNotification | |
| 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") | |
Private Member Functions | |
| getPermanentLink (string $type=self::PERMANENT_LINK_POST) | |
| getPostMessage () | |
| sendMailWithAttachments (string $subjectLanguageId, int $userId, string $customText, string $action, string $date='') | |
| sendMailWithoutAttachments (string $subjectLanguageId, int $userId, string $customText, string $action, ?string $date=null) | |
| createMail (string $subject, int $userId, string $customText, string $action, ?string $date) | |
| addMailSubject (string $subject) | |
| createMailDate (string $date) | |
| addLinkToMail () | |
Private Attributes | |
| const | PERMANENT_LINK_POST = 'PL_Post' |
| const | PERMANENT_LINK_FORUM = 'PL_Forum' |
| bool | $is_cronjob = false |
Additional Inherited Members | |
Protected Attributes inherited from ilMailNotification | |
| 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 24 of file class.ilForumMailNotification.php.
| ilForumMailNotification::__construct | ( | private ilForumNotificationMailData | $provider, |
| private ilLogger | $logger | ||
| ) |
Definition at line 39 of file class.ilForumMailNotification.php.
References ILIAS\MetaData\Repository\Validation\Data\__construct().
Here is the call graph for this function:
|
private |
Definition at line 400 of file class.ilForumMailNotification.php.
References ilMail\_getInstallationSignature(), ilMailNotification\appendBody(), and getPermanentLink().
Referenced by sendMailWithAttachments(), and sendMailWithoutAttachments().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 370 of file class.ilForumMailNotification.php.
References ilMailNotification\getLanguageText(), initMail(), and setSubject().
Referenced by createMail().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 68 of file class.ilForumMailNotification.php.
References ilMailNotification\appendBody(), ilMailNotification\getLanguageText(), ILIAS\Repository\logger(), and ilMailNotification\setAttachments().
Referenced by sendMailWithAttachments().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 319 of file class.ilForumMailNotification.php.
References $message, addMailSubject(), ilMailNotification\appendBody(), createMailDate(), ilMailNotification\getLanguage(), ilMailNotification\getLanguageText(), getPostMessage(), ilMail\getSalutation(), and ilMailNotification\setBody().
Referenced by sendMailWithAttachments(), and sendMailWithoutAttachments().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 389 of file class.ilForumMailNotification.php.
References ilDatePresentation\formatDate(), IL_CAL_DATETIME, ILIAS\UI\examples\Symbol\Glyph\Language\language(), and ilDatePresentation\setLanguage().
Referenced by createMail().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 239 of file class.ilForumMailNotification.php.
References $DIC, ilMailNotification\$type, ilUtil\_getHttpPath(), CLIENT_ID, ilMailNotification\getLanguageText(), and ILIAS\Repository\logger().
Referenced by addLinkToMail().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 277 of file class.ilForumMailNotification.php.
Referenced by createMail().
Here is the caller graph for this function:
|
protected |
Definition at line 223 of file class.ilForumMailNotification.php.
References ILIAS\UI\examples\Symbol\Glyph\Language\language().
Referenced by send().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 44 of file class.ilForumMailNotification.php.
References ilMailNotification\$mail, and ILIAS\Repository\logger().
Referenced by addMailSubject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilForumMailNotification::isCronjob | ( | ) |
| ilForumMailNotification::send | ( | ) |
Definition at line 80 of file class.ilForumMailNotification.php.
References $DIC, $ilSetting, $lng, ilMailNotification\getLanguageText(), ilMailNotification\getRecipients(), ilMailNotification\getType(), initLanguage(), ILIAS\Repository\logger(), sendMailWithAttachments(), sendMailWithoutAttachments(), ilDatePresentation\setLanguage(), ilDatePresentation\setUseRelativeDates(), and ilDatePresentation\useRelativeDates().
Here is the call graph for this function:| ilForumMailNotification::sendMail | ( | array | $a_rcp, |
| bool | $a_parse_recipients = true |
||
| ) |
Definition at line 51 of file class.ilForumMailNotification.php.
References ILIAS\Repository\logger().
Referenced by sendMailWithAttachments(), and sendMailWithoutAttachments().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 294 of file class.ilForumMailNotification.php.
References addLinkToMail(), appendAttachments(), createMail(), and sendMail().
Referenced by send().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 307 of file class.ilForumMailNotification.php.
References addLinkToMail(), createMail(), and sendMail().
Referenced by send().
Here is the call graph for this function:
Here is the caller graph for this function:| ilForumMailNotification::setIsCronjob | ( | bool | $is_cronjob | ) |
|
protected |
Definition at line 61 of file class.ilForumMailNotification.php.
References ILIAS\Repository\logger().
Referenced by addMailSubject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 37 of file class.ilForumMailNotification.php.
Referenced by isCronjob(), and setIsCronjob().
|
private |
Definition at line 27 of file class.ilForumMailNotification.php.
|
private |
Definition at line 26 of file class.ilForumMailNotification.php.
| const ilForumMailNotification::TYPE_POST_ACTIVATION = 61 |
Definition at line 30 of file class.ilForumMailNotification.php.
Referenced by ilForumAppEventListener\delegateNotification().
| const ilForumMailNotification::TYPE_POST_ANSWERED = 65 |
Definition at line 34 of file class.ilForumMailNotification.php.
Referenced by ilForumAppEventListener\delegateNotification().
| const ilForumMailNotification::TYPE_POST_CENSORED = 63 |
Definition at line 32 of file class.ilForumMailNotification.php.
Referenced by ilForumNotificationDataProvider\getEventType(), and ilForumCronNotification\sendNotificationForCensoredPosts().
| const ilForumMailNotification::TYPE_POST_DELETED = 64 |
Definition at line 33 of file class.ilForumMailNotification.php.
Referenced by ilForumNotificationDataProvider\getEventType(), ilForumCronNotification\sendCronForumNotification(), and ilForumCronNotification\sendNotificationForDeletedPosts().
| const ilForumMailNotification::TYPE_POST_NEW = 60 |
Definition at line 29 of file class.ilForumMailNotification.php.
Referenced by ilForumCronNotification\sendNotificationForNewPosts().
| const ilForumMailNotification::TYPE_POST_UNCENSORED = 66 |
Definition at line 35 of file class.ilForumMailNotification.php.
Referenced by ilForumNotificationDataProvider\getEventType(), and ilForumCronNotification\sendNotificationForUncensoredPosts().
| const ilForumMailNotification::TYPE_POST_UPDATED = 62 |
Definition at line 31 of file class.ilForumMailNotification.php.
Referenced by ilForumNotificationDataProvider\getEventType(), and ilForumCronNotification\sendNotificationForUpdatedPosts().
| const ilForumMailNotification::TYPE_THREAD_DELETED = 54 |
Definition at line 28 of file class.ilForumMailNotification.php.
Referenced by ilForumNotificationDataProvider\getEventType(), ilForumCronNotification\sendCronForumNotification(), and ilForumCronNotification\sendNotificationForDeletedThreads().