|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Inheritance diagram for ilCourseMembershipMailNotification:
Collaboration diagram for ilCourseMembershipMailNotification:Public Member Functions | |
| __construct () | |
| send () | |
| Send notifications. More... | |
Public Member Functions inherited from ilMailNotification | |
| __construct ($a_is_personal_workspace=false) | |
| Constructor. More... | |
| 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 ($a_rcp) | |
| set mail recipients More... | |
| 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) | |
| Set ref id. More... | |
| getRefId () | |
| get reference id More... | |
| getObjId () | |
| get object id More... | |
| setObjId ($a_obj_id) | |
| set obj id More... | |
| getObjType () | |
| Get object type. More... | |
| setAdditionalInformation ($a_info) | |
| Additional information for creating notification mails. More... | |
| getAdditionalInformation () | |
| Get additional information for generating notification mails. More... | |
| sendMail ($a_rcp, $a_type, $a_parse_recipients=true) | |
| Send Mail. More... | |
| 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 | |
| initLanguage ($a_usr_id) | |
| Add language module crs. More... | |
| createCourseStatus ($a_usr_id) | |
| Get course status body. More... | |
Protected Member Functions inherited from ilMailNotification | |
| setSubject ($a_subject) | |
| Set mail subject. More... | |
| getSubject () | |
| Get mail subject. More... | |
| setBody ($a_body) | |
| Set mail body. More... | |
| appendBody ($a_body) | |
| Append body text. More... | |
| getBody () | |
| Get body. More... | |
| initLanguage ($a_usr_id) | |
| Init language. More... | |
| initLanguageByIso2Code ($a_code='') | |
| Init language by ISO2 code. More... | |
| setLanguage ($a_language) | |
| A language. More... | |
| getLanguage () | |
| get language object More... | |
| getLanguageText ($a_keyword) | |
| Replace new lines. More... | |
| getObjectTitle ($a_shorten=false) | |
| Get object title. More... | |
| initMail () | |
| Init mail. More... | |
| getMail () | |
| Get mail object. More... | |
| createPermanentLink ($a_params=array(), $a_append='') | |
| Create a permanent link for an object. More... | |
| userToString ($a_usr_id) | |
| Utility function. More... | |
| isRefIdAccessible ($a_user_id, $a_ref_id, $a_permission="read") | |
| Check if ref id is accessible for user. More... | |
Additional Inherited Members | |
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 | |
Definition at line 12 of file class.ilCourseMembershipMailNotification.php.
| ilCourseMembershipMailNotification::__construct | ( | ) |
Definition at line 37 of file class.ilCourseMembershipMailNotification.php.
|
protected |
Get course status body.
| int | $a_usr_id |
Definition at line 425 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:
|
protected |
Add language module crs.
| object | $a_usr_id |
Reimplemented from ilMailNotification.
Definition at line 414 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:| ilCourseMembershipMailNotification::send | ( | ) |
Send notifications.
Definition at line 46 of file class.ilCourseMembershipMailNotification.php.
References $ilSetting, 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(), ilMailNotification\initMail(), 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:| const ilCourseMembershipMailNotification::TYPE_ACCEPTED_SUBSCRIPTION_MEMBER = 22 |
Definition at line 17 of file class.ilCourseMembershipMailNotification.php.
Referenced by send(), and ilCourseParticipants\sendNotification().
| const ilCourseMembershipMailNotification::TYPE_ADMISSION_MEMBER = 20 |
Definition at line 14 of file class.ilCourseMembershipMailNotification.php.
Referenced by send(), and ilCourseParticipants\sendNotification().
| const ilCourseMembershipMailNotification::TYPE_BLOCKED_MEMBER = 25 |
Definition at line 22 of file class.ilCourseMembershipMailNotification.php.
Referenced by send(), and ilCourseParticipants\sendNotification().
| const ilCourseMembershipMailNotification::TYPE_DISMISS_MEMBER = 21 |
Definition at line 15 of file class.ilCourseMembershipMailNotification.php.
Referenced by send(), and ilCourseParticipants\sendNotification().
| const ilCourseMembershipMailNotification::TYPE_NOTIFICATION_REGISTRATION = 30 |
Definition at line 29 of file class.ilCourseMembershipMailNotification.php.
Referenced by send(), and ilCourseParticipants\sendNotificationToAdmins().
| const ilCourseMembershipMailNotification::TYPE_NOTIFICATION_REGISTRATION_REQUEST = 31 |
Definition at line 30 of file class.ilCourseMembershipMailNotification.php.
Referenced by send(), and ilCourseParticipants\sendSubscriptionRequestToAdmins().
| const ilCourseMembershipMailNotification::TYPE_NOTIFICATION_UNSUBSCRIBE = 32 |
Definition at line 31 of file class.ilCourseMembershipMailNotification.php.
Referenced by send(), and ilCourseParticipants\sendUnsubscribeNotificationToAdmins().
| const ilCourseMembershipMailNotification::TYPE_REFUSED_SUBSCRIPTION_MEMBER = 23 |
Definition at line 18 of file class.ilCourseMembershipMailNotification.php.
Referenced by send(), and ilCourseParticipants\sendNotification().
| const ilCourseMembershipMailNotification::TYPE_STATUS_CHANGED = 24 |
Definition at line 20 of file class.ilCourseMembershipMailNotification.php.
Referenced by send(), and ilCourseParticipants\sendNotification().
| const ilCourseMembershipMailNotification::TYPE_SUBSCRIBE_MEMBER = 28 |
Definition at line 26 of file class.ilCourseMembershipMailNotification.php.
Referenced by send(), and ilCourseParticipants\sendNotification().
| const ilCourseMembershipMailNotification::TYPE_UNBLOCKED_MEMBER = 26 |
Definition at line 23 of file class.ilCourseMembershipMailNotification.php.
Referenced by send(), and ilCourseParticipants\sendNotification().
| const ilCourseMembershipMailNotification::TYPE_UNSUBSCRIBE_MEMBER = 27 |
Definition at line 25 of file class.ilCourseMembershipMailNotification.php.
Referenced by send(), and ilCourseParticipants\sendNotification().
| const ilCourseMembershipMailNotification::TYPE_WAITING_LIST_MEMBER = 29 |
Definition at line 27 of file class.ilCourseMembershipMailNotification.php.
Referenced by send(), and ilCourseParticipants\sendNotification().