|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ilCourseMembershipMailNotification:
Collaboration diagram for ilCourseMembershipMailNotification:Public Member Functions | |
| __construct () | |
| forceSendingMail (bool $a_status) | |
| Force sending mail independent from global setting. More... | |
| send () | |
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_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 |
| const | TYPE_NOTIFICATION_ADMINS = 33 |
| const | TYPE_NOTIFICATION_ADMINS_REGISTRATION_REQUEST = 34 |
Data Fields inherited from ilMailNotification | |
| final const int | SUBJECT_TITLE_LENGTH = 60 |
Protected Member Functions | |
| initMail () | |
| @inheritDoc More... | |
| initLanguage (int $a_usr_id) | |
| createCourseStatus (int $a_usr_id) | |
| isNotificationTypeEnabled (int $a_type) | |
| get setting "mail_crs_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 (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 | |
| array | $permanent_enabled_notifications |
| Notifications which are not affected by "mail_crs_member_notification" setting because they addresses admins. More... | |
| ilSetting | $setting |
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 Attributes | |
| bool | $force_sending_mail = false |
Definition at line 25 of file class.ilCourseMembershipMailNotification.php.
| ilCourseMembershipMailNotification::__construct | ( | ) |
Definition at line 66 of file class.ilCourseMembershipMailNotification.php.
References $DIC, and ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:
|
protected |
Definition at line 444 of file class.ilCourseMembershipMailNotification.php.
References ilMailNotification\$body, ilCourseParticipants\_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:| ilCourseMembershipMailNotification::forceSendingMail | ( | bool | $a_status | ) |
Force sending mail independent from global setting.
Definition at line 94 of file class.ilCourseMembershipMailNotification.php.
|
protected |
Reimplemented from ilMailNotification.
Definition at line 438 of file class.ilCourseMembershipMailNotification.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 77 of file class.ilCourseMembershipMailNotification.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_crs_member_notification" and excludes types which are not affected by this setting See description of $this->permanent_enabled_notifications
Definition at line 491 of file class.ilCourseMembershipMailNotification.php.
Referenced by send().
Here is the caller graph for this function:| ilCourseMembershipMailNotification::send | ( | ) |
Definition at line 99 of file class.ilCourseMembershipMailNotification.php.
References $info, ilMailNotification\appendBody(), createCourseStatus(), 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_BLOCKED_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_UNBLOCKED_MEMBER, TYPE_UNSUBSCRIBE_MEMBER, TYPE_WAITING_LIST_MEMBER, and ilMailNotification\userToString().
Here is the call graph for this function:
|
private |
Definition at line 62 of file class.ilCourseMembershipMailNotification.php.
|
protected |
Notifications which are not affected by "mail_crs_member_notification" setting because they addresses admins.
Definition at line 56 of file class.ilCourseMembershipMailNotification.php.
|
protected |
Definition at line 64 of file class.ilCourseMembershipMailNotification.php.
| const ilCourseMembershipMailNotification::TYPE_ACCEPTED_SUBSCRIPTION_MEMBER = 22 |
Definition at line 31 of file class.ilCourseMembershipMailNotification.php.
Referenced by ilMembershipGUI\assignSubscribers(), send(), and ilCourseParticipants\sendNotification().
| const ilCourseMembershipMailNotification::TYPE_ADMISSION_MEMBER = 20 |
Definition at line 28 of file class.ilCourseMembershipMailNotification.php.
Referenced by ilMembershipGUI\assignFromWaitingList(), ilCourseMembershipGUI\assignMembers(), ilObjCourse\handleAutoFill(), ilECSCmsCourseMemberCommandQueueHandler\refreshAssignmentStatus(), ilObjCourse\register(), send(), and ilCourseParticipants\sendNotification().
| const ilCourseMembershipMailNotification::TYPE_BLOCKED_MEMBER = 25 |
Definition at line 36 of file class.ilCourseMembershipMailNotification.php.
Referenced by send(), ilCourseParticipants\sendNotification(), and ilCourseMembershipGUI\updateParticipantsStatus().
| const ilCourseMembershipMailNotification::TYPE_DISMISS_MEMBER = 21 |
Definition at line 29 of file class.ilCourseMembershipMailNotification.php.
Referenced by ilMembershipGUI\deleteParticipants(), ilCourseMembershipGUI\deleteParticipantsWithLinkedCourses(), send(), and ilCourseParticipants\sendNotification().
| const ilCourseMembershipMailNotification::TYPE_NOTIFICATION_ADMINS = 33 |
Definition at line 48 of file class.ilCourseMembershipMailNotification.php.
Referenced by ilCourseRegistrationGUI\add(), ilObjCourse\register(), and ilCourseParticipants\sendNotification().
| const ilCourseMembershipMailNotification::TYPE_NOTIFICATION_ADMINS_REGISTRATION_REQUEST = 34 |
Definition at line 49 of file class.ilCourseMembershipMailNotification.php.
Referenced by ilCourseRegistrationGUI\add(), and ilCourseParticipants\sendNotification().
| const ilCourseMembershipMailNotification::TYPE_NOTIFICATION_REGISTRATION = 30 |
Definition at line 44 of file class.ilCourseMembershipMailNotification.php.
Referenced by send(), and ilCourseParticipants\sendNotificationToAdmins().
| const ilCourseMembershipMailNotification::TYPE_NOTIFICATION_REGISTRATION_REQUEST = 31 |
Definition at line 45 of file class.ilCourseMembershipMailNotification.php.
Referenced by send(), and ilCourseParticipants\sendSubscriptionRequestToAdmins().
| const ilCourseMembershipMailNotification::TYPE_NOTIFICATION_UNSUBSCRIBE = 32 |
Definition at line 46 of file class.ilCourseMembershipMailNotification.php.
Referenced by send(), and ilCourseParticipants\sendUnsubscribeNotificationToAdmins().
| const ilCourseMembershipMailNotification::TYPE_REFUSED_SUBSCRIPTION_MEMBER = 23 |
Definition at line 32 of file class.ilCourseMembershipMailNotification.php.
Referenced by ilMembershipGUI\refuseFromList(), ilMembershipGUI\refuseSubscribers(), send(), and ilCourseParticipants\sendNotification().
| const ilCourseMembershipMailNotification::TYPE_STATUS_CHANGED = 24 |
Definition at line 34 of file class.ilCourseMembershipMailNotification.php.
Referenced by send(), ilCourseParticipants\sendNotification(), and ilMembershipGUI\updateParticipants().
| const ilCourseMembershipMailNotification::TYPE_SUBSCRIBE_MEMBER = 28 |
Definition at line 40 of file class.ilCourseMembershipMailNotification.php.
Referenced by ilCourseRegistrationGUI\add(), send(), and ilCourseParticipants\sendNotification().
| const ilCourseMembershipMailNotification::TYPE_UNBLOCKED_MEMBER = 26 |
Definition at line 37 of file class.ilCourseMembershipMailNotification.php.
Referenced by send(), ilCourseParticipants\sendNotification(), and ilCourseMembershipGUI\updateParticipantsStatus().
| const ilCourseMembershipMailNotification::TYPE_UNSUBSCRIBE_MEMBER = 27 |
Definition at line 39 of file class.ilCourseMembershipMailNotification.php.
Referenced by ilMembershipBlockGUI\confirmedRemove(), ilObjCourseGUI\performUnsubscribeObject(), send(), and ilCourseParticipants\sendNotification().
| const ilCourseMembershipMailNotification::TYPE_WAITING_LIST_MEMBER = 29 |
Definition at line 41 of file class.ilCourseMembershipMailNotification.php.
Referenced by ilCourseRegistrationGUI\add(), ilObjCourse\register(), send(), and ilCourseParticipants\sendNotification().