ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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_type, $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 | |
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.
|
protected |
Get course status body.
int | $a_usr_id |
Definition at line 389 of file class.ilGroupMembershipMailNotification.php.
References ilMailNotification\$body, ilGroupParticipants\_getInstanceByObjId(), ilMailNotification\getLanguageText(), and ilMailNotification\getObjId().
Referenced by send().
ilGroupMembershipMailNotification::forceSendingMail | ( | $a_status | ) |
Force sending mail independent from global setting.
type | $a_status |
Definition at line 63 of file class.ilGroupMembershipMailNotification.php.
|
protected |
Add language module crs.
object | $a_usr_id |
Definition at line 378 of file class.ilGroupMembershipMailNotification.php.
References ilMailNotification\getLanguage().
Referenced by send().
|
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 430 of file class.ilGroupMembershipMailNotification.php.
References $a_type, and $ilSetting.
Referenced by send().
ilGroupMembershipMailNotification::send | ( | ) |
Send notifications.
Definition at line 74 of file class.ilGroupMembershipMailNotification.php.
References $GLOBALS, $info, ilMailNotification\appendBody(), array, createGroupStatus(), ilMailNotification\createPermanentLink(), ilMailNotification\getAdditionalInformation(), ilMailNotification\getLanguage(), ilMailNotification\getLanguageText(), ilMailNotification\getMail(), ilMailNotification\getObjectTitle(), ilMailNotification\getRecipients(), ilMailNotification\getType(), initLanguage(), ilMailNotification\initMail(), isNotificationTypeEnabled(), ilMailNotification\sendMail(), ilMailNotification\setBody(), ilMailNotification\setSubject(), and ilMailNotification\userToString().
|
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(), and ilGroupParticipants\sendNotification().
const ilGroupMembershipMailNotification::TYPE_ADMISSION_MEMBER = 20 |
Definition at line 15 of file class.ilGroupMembershipMailNotification.php.
Referenced by ilCourseParticipantsGroupsGUI\add(), ilGroupMembershipGUI\assignMembers(), 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(), and ilGroupParticipants\sendNotification().
const ilGroupMembershipMailNotification::TYPE_NOTIFICATION_REGISTRATION = 30 |
Definition at line 31 of file class.ilGroupMembershipMailNotification.php.
Referenced by ilGroupRegistrationGUI\add(), and ilGroupParticipants\sendNotification().
const ilGroupMembershipMailNotification::TYPE_NOTIFICATION_REGISTRATION_REQUEST = 31 |
Definition at line 32 of file class.ilGroupMembershipMailNotification.php.
Referenced by ilGroupRegistrationGUI\add(), and ilGroupParticipants\sendNotification().
const ilGroupMembershipMailNotification::TYPE_NOTIFICATION_UNSUBSCRIBE = 32 |
Definition at line 33 of file class.ilGroupMembershipMailNotification.php.
Referenced by ilPDSelectedItemsBlockGUI\confirmedUnsubscribe(), 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(), and ilGroupParticipants\sendNotification().
const ilGroupMembershipMailNotification::TYPE_STATUS_CHANGED = 24 |
Definition at line 21 of file class.ilGroupMembershipMailNotification.php.
Referenced by ilGroupParticipants\sendNotification().
const ilGroupMembershipMailNotification::TYPE_SUBSCRIBE_MEMBER = 28 |
Definition at line 27 of file class.ilGroupMembershipMailNotification.php.
Referenced by ilGroupRegistrationGUI\add(), 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(), 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(), and ilGroupParticipants\sendNotification().