|
ILIAS
release_8 Revision v8.24
|
Inheritance diagram for ilForumMailNotification:
Collaboration diagram for ilForumMailNotification:Public Member Functions | |
| __construct (ilForumNotificationMailData $provider, ilLogger $logger) | |
| sendMail (array $a_rcp, bool $a_parse_recipients=true) | |
| send () | |
| isCronjob () | |
| setIsCronjob (bool $is_cronjob) | |
Public Member Functions inherited from ilMailNotification | |
| __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 () | |
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 | |
| 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 |
| ilForumNotificationMailData | $provider |
| ilLogger | $logger |
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 = [] |
| bool | $is_in_wsp |
| ilWorkspaceTree | $wsp_tree |
| ilWorkspaceAccessHandler | $wsp_access_handler |
Definition at line 24 of file class.ilForumMailNotification.php.
| ilForumMailNotification::__construct | ( | ilForumNotificationMailData | $provider, |
| ilLogger | $logger | ||
| ) |
Definition at line 41 of file class.ilForumMailNotification.php.
References $logger, $provider, ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\Repository\logger().
Here is the call graph for this function:
|
private |
Definition at line 404 of file class.ilForumMailNotification.php.
References ilMail\_getInstallationSignature().
Here is the call graph for this function:
|
private |
Definition at line 374 of file class.ilForumMailNotification.php.
|
protected |
Definition at line 72 of file class.ilForumMailNotification.php.
References ilMailNotification\appendBody(), ilMailNotification\getLanguageText(), ILIAS\Repository\logger(), and ilMailNotification\setAttachments().
Here is the call graph for this function:
|
private |
Definition at line 323 of file class.ilForumMailNotification.php.
|
private |
Definition at line 393 of file class.ilForumMailNotification.php.
References ilDatePresentation\formatDate(), IL_CAL_DATETIME, ILIAS\UI\examples\Symbol\Glyph\Language\language(), and ilDatePresentation\setLanguage().
Here is the call graph for this function:
|
private |
Definition at line 243 of file class.ilForumMailNotification.php.
References $DIC, ilMailNotification\$type, ilUtil\_getHttpPath(), CLIENT_ID, ilMailNotification\getLanguageText(), and ILIAS\Repository\logger().
Here is the call graph for this function:
|
private |
Definition at line 281 of file class.ilForumMailNotification.php.
|
protected |
Reimplemented from ilMailNotification.
Definition at line 227 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 |
Reimplemented from ilMailNotification.
Definition at line 48 of file class.ilForumMailNotification.php.
References ilMailNotification\$mail, and ILIAS\Repository\logger().
Here is the call graph for this function:| ilForumMailNotification::isCronjob | ( | ) |
Definition at line 233 of file class.ilForumMailNotification.php.
References $is_cronjob.
| ilForumMailNotification::send | ( | ) |
Definition at line 84 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(), TYPE_POST_ACTIVATION, TYPE_POST_ANSWERED, TYPE_POST_CENSORED, TYPE_POST_DELETED, TYPE_POST_NEW, TYPE_POST_UNCENSORED, TYPE_POST_UPDATED, TYPE_THREAD_DELETED, and ilDatePresentation\useRelativeDates().
Here is the call graph for this function:| ilForumMailNotification::sendMail | ( | array | $a_rcp, |
| bool | $a_parse_recipients = true |
||
| ) |
Reimplemented from ilMailNotification.
Definition at line 55 of file class.ilForumMailNotification.php.
References ILIAS\Repository\logger().
Here is the call graph for this function:
|
private |
Definition at line 298 of file class.ilForumMailNotification.php.
Referenced by send().
Here is the caller graph for this function:
|
private |
Definition at line 311 of file class.ilForumMailNotification.php.
Referenced by send().
Here is the caller graph for this function:| ilForumMailNotification::setIsCronjob | ( | bool | $is_cronjob | ) |
Definition at line 238 of file class.ilForumMailNotification.php.
References $is_cronjob.
|
protected |
Reimplemented from ilMailNotification.
Definition at line 65 of file class.ilForumMailNotification.php.
References ILIAS\Repository\logger().
Here is the call graph for this function:
|
private |
Definition at line 37 of file class.ilForumMailNotification.php.
Referenced by isCronjob(), and setIsCronjob().
|
private |
Definition at line 39 of file class.ilForumMailNotification.php.
Referenced by __construct().
|
private |
Definition at line 38 of file class.ilForumMailNotification.php.
Referenced by __construct().
|
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(), and send().
| const ilForumMailNotification::TYPE_POST_ANSWERED = 65 |
Definition at line 34 of file class.ilForumMailNotification.php.
Referenced by ilForumAppEventListener\delegateNotification(), and send().
| const ilForumMailNotification::TYPE_POST_CENSORED = 63 |
Definition at line 32 of file class.ilForumMailNotification.php.
Referenced by ilForumNotificationDataProvider\getEventType(), send(), and ilForumCronNotification\sendNotificationForCensoredPosts().
| const ilForumMailNotification::TYPE_POST_DELETED = 64 |
Definition at line 33 of file class.ilForumMailNotification.php.
Referenced by ilForumNotificationDataProvider\getEventType(), send(), ilForumCronNotification\sendCronForumNotification(), and ilForumCronNotification\sendNotificationForDeletedPosts().
| const ilForumMailNotification::TYPE_POST_NEW = 60 |
Definition at line 29 of file class.ilForumMailNotification.php.
Referenced by send(), and ilForumCronNotification\sendNotificationForNewPosts().
| const ilForumMailNotification::TYPE_POST_UNCENSORED = 66 |
Definition at line 35 of file class.ilForumMailNotification.php.
Referenced by ilForumNotificationDataProvider\getEventType(), send(), and ilForumCronNotification\sendNotificationForUncensoredPosts().
| const ilForumMailNotification::TYPE_POST_UPDATED = 62 |
Definition at line 31 of file class.ilForumMailNotification.php.
Referenced by ilForumNotificationDataProvider\getEventType(), send(), and ilForumCronNotification\sendNotificationForUpdatedPosts().
| const ilForumMailNotification::TYPE_THREAD_DELETED = 54 |
Definition at line 28 of file class.ilForumMailNotification.php.
Referenced by ilForumNotificationDataProvider\getEventType(), send(), ilForumCronNotification\sendCronForumNotification(), and ilForumCronNotification\sendNotificationForDeletedThreads().