|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Inheritance diagram for ilGroupMembershipMailNotification:
Collaboration diagram for ilGroupMembershipMailNotification:Public Member Functions | |
| __construct () | |
| forceSendingMail ($a_status) | |
| Force sending mail independent from global setting. More... | |
| send () | |
| Send notifications. More... | |
Public Member Functions inherited from ilMailNotification | |
| __construct ($a_is_personal_workspace=false) | |
| setType ($a_type) | |
| Set notification type. More... | |
| getType () | |
| Get notification type. More... | |
| setSender ($a_usr_id) | |
| Set sender of mail. More... | |
| getSender () | |
| get sender of mail More... | |
| setRecipients (array $a_rcp) | |
| getRecipients () | |
| get array of recipients More... | |
| setAttachments ($a_att) | |
| Set attachments. More... | |
| getAttachments () | |
| Get attachments. More... | |
| setLangModules (array $a_modules) | |
| Set lang modules. More... | |
| getUserLanguage ($a_usr_id) | |
| Get user language. More... | |
| setRefId ($a_id) | |
| getRefId () | |
| getObjId () | |
| setObjId ($a_obj_id) | |
| getObjType () | |
| Get object type. More... | |
| setAdditionalInformation (array $a_info) | |
| Additional information for creating notification mails. More... | |
| getAdditionalInformation () | |
| sendMail (array $a_rcp, $a_parse_recipients=true) | |
| getBlockBorder () | |
| Get (ascii) block border. More... | |
Data Fields | |
| const | TYPE_ADMISSION_MEMBER = 20 |
| const | TYPE_DISMISS_MEMBER = 21 |
| const | TYPE_ACCEPTED_SUBSCRIPTION_MEMBER = 22 |
| const | TYPE_REFUSED_SUBSCRIPTION_MEMBER = 23 |
| const | TYPE_STATUS_CHANGED = 24 |
| const | TYPE_BLOCKED_MEMBER = 25 |
| const | TYPE_UNBLOCKED_MEMBER = 26 |
| const | TYPE_UNSUBSCRIBE_MEMBER = 27 |
| const | TYPE_SUBSCRIBE_MEMBER = 28 |
| const | TYPE_WAITING_LIST_MEMBER = 29 |
| const | TYPE_NOTIFICATION_REGISTRATION = 30 |
| const | TYPE_NOTIFICATION_REGISTRATION_REQUEST = 31 |
| const | TYPE_NOTIFICATION_UNSUBSCRIBE = 32 |
Data Fields inherited from ilMailNotification | |
| const | SUBJECT_TITLE_LENGTH = 60 |
Protected Member Functions | |
| initMail () | |
| @inheritDoc More... | |
| initLanguage ($a_usr_id) | |
| Add language module crs. More... | |
| createGroupStatus ($a_usr_id) | |
| Get course status body. More... | |
| isNotificationTypeEnabled ($a_type) | |
| get setting "mail_grp_member_notification" and excludes types which are not affected by this setting See description of $this->permanent_enabled_notifications More... | |
Protected Member Functions inherited from ilMailNotification | |
| setSubject ($a_subject) | |
| getSubject () | |
| setBody ($a_body) | |
| appendBody ($a_body) | |
| Append body text. More... | |
| getBody () | |
| initLanguage ($a_usr_id) | |
| Init language. More... | |
| initLanguageByIso2Code ($a_code='') | |
| Init language by ISO2 code. More... | |
| setLanguage ($a_language) | |
| getLanguage () | |
| getLanguageText ($a_keyword) | |
| getObjectTitle ($a_shorten=false) | |
| initMail () | |
| getMail () | |
| createPermanentLink ($a_params=array(), $a_append='') | |
| userToString ($a_usr_id) | |
| isRefIdAccessible ($a_user_id, $a_ref_id, $a_permission="read") | |
| Check if ref id is accessible for user. More... | |
Protected Attributes | |
| $permanent_enabled_notifications | |
| Notifications which are not affected by "mail_grp_member_notification" setting because they addresses admins. More... | |
Protected Attributes inherited from ilMailNotification | |
| $type = null | |
| $sender = null | |
| $mail = null | |
| $subject = '' | |
| $body = '' | |
| $attachments = array() | |
| $language = null | |
| $lang_modules = array() | |
| $recipients = array() | |
| $ref_id = null | |
| $obj_id = null | |
| $obj_type = null | |
| $additional_info = array() | |
| $is_in_wsp | |
| $wsp_tree | |
| $wsp_access_handler | |
Private Attributes | |
| $force_sending_mail = false | |
Definition at line 12 of file class.ilGroupMembershipMailNotification.php.
| ilGroupMembershipMailNotification::__construct | ( | ) |
Definition at line 54 of file class.ilGroupMembershipMailNotification.php.
References ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:
|
protected |
Get course status body.
| int | $a_usr_id |
Definition at line 418 of file class.ilGroupMembershipMailNotification.php.
References ilMailNotification\$body, ilGroupParticipants\_getInstanceByObjId(), ilMailNotification\getLanguageText(), and ilMailNotification\getObjId().
Referenced by send().
Here is the call graph for this function:
Here is the caller graph for this function:| ilGroupMembershipMailNotification::forceSendingMail | ( | $a_status | ) |
Force sending mail independent from global setting.
| type | $a_status |
Definition at line 80 of file class.ilGroupMembershipMailNotification.php.
|
protected |
Add language module crs.
| object | $a_usr_id |
Reimplemented from ilMailNotification.
Definition at line 407 of file class.ilGroupMembershipMailNotification.php.
References ilMailNotification\getLanguage().
Referenced by send().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
@inheritDoc
Reimplemented from ilMailNotification.
Definition at line 62 of file class.ilGroupMembershipMailNotification.php.
References ilMailNotification\$mail, ilContainer\_lookupContainerSetting(), ilObject\_lookupObjId(), ilObjectServiceSettingsGUI\EXTERNAL_MAIL_PREFIX, ilMailNotification\getRefId(), and ilMail\PROP_CONTEXT_SUBJECT_PREFIX.
Referenced by send().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
get setting "mail_grp_member_notification" and excludes types which are not affected by this setting See description of $this->permanent_enabled_notifications
| int | $a_type |
Definition at line 451 of file class.ilGroupMembershipMailNotification.php.
References $DIC, and $ilSetting.
Referenced by send().
Here is the caller graph for this function:| ilGroupMembershipMailNotification::send | ( | ) |
Send notifications.
Definition at line 91 of file class.ilGroupMembershipMailNotification.php.
References $DIC, ilMailNotification\appendBody(), createGroupStatus(), ilMailNotification\createPermanentLink(), ilMailNotification\getAdditionalInformation(), ilObjectFactory\getInstanceByRefId(), ilMailNotification\getLanguage(), ilMailNotification\getLanguageText(), ilMailNotification\getMail(), ilMailNotification\getObjectTitle(), ilMailNotification\getRecipients(), ilMailNotification\getRefId(), ilMail\getSalutation(), ilMailNotification\getType(), initLanguage(), initMail(), isNotificationTypeEnabled(), ilMailNotification\sendMail(), ilMailNotification\setBody(), ilMailNotification\setSubject(), TYPE_ACCEPTED_SUBSCRIPTION_MEMBER, TYPE_ADMISSION_MEMBER, TYPE_DISMISS_MEMBER, TYPE_NOTIFICATION_REGISTRATION, TYPE_NOTIFICATION_REGISTRATION_REQUEST, TYPE_NOTIFICATION_UNSUBSCRIBE, TYPE_REFUSED_SUBSCRIPTION_MEMBER, TYPE_STATUS_CHANGED, TYPE_SUBSCRIBE_MEMBER, TYPE_UNSUBSCRIBE_MEMBER, TYPE_WAITING_LIST_MEMBER, and ilMailNotification\userToString().
Here is the call graph for this function:
|
private |
Definition at line 46 of file class.ilGroupMembershipMailNotification.php.
|
protected |
Notifications which are not affected by "mail_grp_member_notification" setting because they addresses admins.
Definition at line 40 of file class.ilGroupMembershipMailNotification.php.
| const ilGroupMembershipMailNotification::TYPE_ACCEPTED_SUBSCRIPTION_MEMBER = 22 |
Definition at line 18 of file class.ilGroupMembershipMailNotification.php.
Referenced by ilMembershipGUI\assignFromWaitingList(), ilMembershipGUI\assignSubscribers(), ilObjGroup\handleAutoFill(), send(), and ilGroupParticipants\sendNotification().
| const ilGroupMembershipMailNotification::TYPE_ADMISSION_MEMBER = 20 |
Definition at line 15 of file class.ilGroupMembershipMailNotification.php.
Referenced by ilCourseParticipantsGroupsGUI\add(), ilGroupAddToGroupActionGUI\addUser(), ilGroupMembershipGUI\assignMembers(), ilGroupAddToGroupActionGUI\createGroupAndAddUser(), ilObjGroup\register(), send(), and ilGroupParticipants\sendNotification().
| const ilGroupMembershipMailNotification::TYPE_BLOCKED_MEMBER = 25 |
Definition at line 23 of file class.ilGroupMembershipMailNotification.php.
| const ilGroupMembershipMailNotification::TYPE_DISMISS_MEMBER = 21 |
Definition at line 16 of file class.ilGroupMembershipMailNotification.php.
Referenced by ilMembershipGUI\deleteParticipants(), ilCourseParticipantsGroupsGUI\remove(), send(), and ilGroupParticipants\sendNotification().
| const ilGroupMembershipMailNotification::TYPE_NOTIFICATION_REGISTRATION = 30 |
Definition at line 31 of file class.ilGroupMembershipMailNotification.php.
Referenced by ilGroupRegistrationGUI\add(), ilObjGroup\register(), send(), and ilGroupParticipants\sendNotification().
| const ilGroupMembershipMailNotification::TYPE_NOTIFICATION_REGISTRATION_REQUEST = 31 |
Definition at line 32 of file class.ilGroupMembershipMailNotification.php.
Referenced by ilGroupRegistrationGUI\add(), send(), and ilGroupParticipants\sendNotification().
| const ilGroupMembershipMailNotification::TYPE_NOTIFICATION_UNSUBSCRIBE = 32 |
Definition at line 33 of file class.ilGroupMembershipMailNotification.php.
Referenced by ilPDSelectedItemsBlockGUI\confirmedUnsubscribe(), send(), ilGroupParticipants\sendNotification(), and ilObjGroupGUI\unsubscribeObject().
| const ilGroupMembershipMailNotification::TYPE_REFUSED_SUBSCRIPTION_MEMBER = 23 |
Definition at line 19 of file class.ilGroupMembershipMailNotification.php.
Referenced by ilMembershipGUI\refuseFromList(), ilMembershipGUI\refuseSubscribers(), send(), and ilGroupParticipants\sendNotification().
| const ilGroupMembershipMailNotification::TYPE_STATUS_CHANGED = 24 |
Definition at line 21 of file class.ilGroupMembershipMailNotification.php.
Referenced by send(), and ilGroupParticipants\sendNotification().
| const ilGroupMembershipMailNotification::TYPE_SUBSCRIBE_MEMBER = 28 |
Definition at line 27 of file class.ilGroupMembershipMailNotification.php.
Referenced by ilGroupRegistrationGUI\add(), send(), and ilGroupParticipants\sendNotification().
| const ilGroupMembershipMailNotification::TYPE_UNBLOCKED_MEMBER = 26 |
Definition at line 24 of file class.ilGroupMembershipMailNotification.php.
| const ilGroupMembershipMailNotification::TYPE_UNSUBSCRIBE_MEMBER = 27 |
Definition at line 26 of file class.ilGroupMembershipMailNotification.php.
Referenced by ilPDSelectedItemsBlockGUI\confirmedUnsubscribe(), send(), ilGroupParticipants\sendNotification(), and ilObjGroupGUI\unsubscribeObject().
| const ilGroupMembershipMailNotification::TYPE_WAITING_LIST_MEMBER = 29 |
Definition at line 28 of file class.ilGroupMembershipMailNotification.php.
Referenced by ilGroupRegistrationGUI\add(), ilObjGroup\register(), send(), and ilGroupParticipants\sendNotification().