| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
 Inheritance diagram for ilForumMailEventNotificationSender:
 Collaboration diagram for ilForumMailEventNotificationSender:Public Member Functions | |
| __construct (protected ilForumNotificationMailData $provider, protected 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 () | |
Protected Member Functions | |
| initMail () | |
| setSubject (string $a_subject) | |
| 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") | |
Protected Attributes | |
| bool | $is_cronjob = false | 
  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 | 
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 | |
  Data Fields inherited from ilMailNotification | |
| final const | SUBJECT_TITLE_LENGTH = 60 | 
Definition at line 24 of file class.ilForumMailEventNotificationSender.php.
| ilForumMailEventNotificationSender::__construct | ( | protected ilForumNotificationMailData | $provider, | 
| protected ilLogger | $logger | ||
| ) | 
Definition at line 38 of file class.ilForumMailEventNotificationSender.php.
References ILIAS\GlobalScreen\Provider\__construct().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 469 of file class.ilForumMailEventNotificationSender.php.
References createSubjectText(), initMail(), and setSubject().
Referenced by createMailBodyText().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 462 of file class.ilForumMailEventNotificationSender.php.
References ilMailNotification\$body, ilMail\_getInstallationSignature(), and getPermanentLink().
Referenced by createMailValueObjectsWithAttachments().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 448 of file class.ilForumMailEventNotificationSender.php.
References ilMailNotification\getLanguageText(), and ILIAS\Repository\logger().
Referenced by createMailValueObjectsWithAttachments().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 402 of file class.ilForumMailEventNotificationSender.php.
References ilMailNotification\$body, addMailSubject(), createMailDate(), ilMailNotification\getLanguage(), ilMailNotification\getLanguageText(), getPostMessage(), and ilMail\getSalutation().
Referenced by createMailValueObjectsWithAttachments(), and createMailValueObjectWithoutAttachments().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 476 of file class.ilForumMailEventNotificationSender.php.
References ilDatePresentation\formatDate(), IL_CAL_DATETIME, ILIAS\UI\examples\Symbol\Glyph\Language\language(), and ilDatePresentation\setLanguage().
Referenced by createMailBodyText().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  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 333 of file class.ilForumMailEventNotificationSender.php.
References ilObjUser\_lookupLogin(), createAttachmentLinkText(), createAttachmentText(), createMailBodyText(), createSubjectText(), and ilStr\strLen().
Referenced by send().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Add body and send mail without attachments.
Definition at line 372 of file class.ilForumMailEventNotificationSender.php.
References ilObjUser\_lookupLogin(), createMailBodyText(), createSubjectText(), and ilStr\strLen().
Referenced by send().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 487 of file class.ilForumMailEventNotificationSender.php.
References ilMailNotification\getLanguageText().
Referenced by addMailSubject(), createMailValueObjectsWithAttachments(), and createMailValueObjectWithoutAttachments().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 274 of file class.ilForumMailEventNotificationSender.php.
References $DIC, ilMailNotification\$type, ilUtil\_getHttpPath(), CLIENT_ID, ilMailNotification\getLanguageText(), and ILIAS\Repository\logger().
Referenced by createAttachmentLinkText().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 310 of file class.ilForumMailEventNotificationSender.php.
Referenced by createMailBodyText().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 258 of file class.ilForumMailEventNotificationSender.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 43 of file class.ilForumMailEventNotificationSender.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:| ilForumMailEventNotificationSender::isCronjob | ( | ) | 
Definition at line 264 of file class.ilForumMailEventNotificationSender.php.
References $is_cronjob.
| ilForumMailEventNotificationSender::send | ( | ) | 
Definition at line 69 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().
 Here is the call graph for this function:| ilForumMailEventNotificationSender::sendMail | ( | array | $a_rcp, | 
| bool | $a_parse_recipients = true  | 
        ||
| ) | 
Definition at line 51 of file class.ilForumMailEventNotificationSender.php.
References ILIAS\Repository\logger().
 Here is the call graph for this function:| ilForumMailEventNotificationSender::setIsCronjob | ( | bool | $is_cronjob | ) | 
Definition at line 269 of file class.ilForumMailEventNotificationSender.php.
References $is_cronjob.
      
  | 
  protected | 
Definition at line 61 of file class.ilForumMailEventNotificationSender.php.
References ILIAS\Repository\logger().
Referenced by addMailSubject().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 36 of file class.ilForumMailEventNotificationSender.php.
Referenced by isCronjob(), and setIsCronjob().
      
  | 
  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.