ILIAS
release_4-3 Revision
|
Public Member Functions | |
__construct () | |
Constructor. | |
send () | |
Send notifications. | |
Public Member Functions inherited from ilMailNotification | |
setType ($a_type) | |
Set notification type. | |
getType () | |
Get notification type. | |
setSender ($a_usr_id) | |
Set sender of mail. | |
getSender () | |
get sender of mail | |
setRecipients ($a_rcp) | |
set mail recipients | |
getRecipients () | |
get array of recipients | |
setAttachments ($a_att) | |
getAttachments () | |
setRefId ($a_id) | |
Set ref id. | |
getRefId () | |
get reference id | |
getObjId () | |
get object id | |
setObjId ($a_obj_id) | |
set obj id | |
getObjType () | |
Get object type. | |
setAdditionalInformation ($a_info) | |
Additional information for creating notification mails. | |
getAdditionalInformation () | |
Get additional information for generating notification mails. | |
sendMail ($a_rcp, $a_type, $a_parse_recipients=true) | |
Send Mail. |
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. | |
createGroupStatus ($a_usr_id) | |
Get course status body. | |
Protected Member Functions inherited from ilMailNotification | |
setSubject ($a_subject) | |
Set mail subject. | |
getSubject () | |
Get mail subject. | |
setBody ($a_body) | |
Set mail body. | |
appendBody ($a_body) | |
Append body text. | |
getBody () | |
Get body. | |
initLanguageByIso2Code ($a_code= '') | |
Init language by ISO2 code. | |
setLanguage ($a_language) | |
A language. | |
getLanguage () | |
get language object | |
getLanguageText ($a_keyword) | |
Replace new lines. | |
getObjectTitle ($a_shorten=false) | |
Get object title. | |
initMail () | |
Init mail. | |
getMail () | |
Get mail object. | |
createPermanentLink ($a_params=array(), $a_append= '') | |
Create a permanent link for an object. | |
userToString ($a_usr_id) | |
Utility function. |
Additional Inherited Members | |
Protected Attributes inherited from ilMailNotification | |
$language = null |
Definition at line 12 of file class.ilGroupMembershipMailNotification.php.
ilGroupMembershipMailNotification::__construct | ( | ) |
Constructor.
Reimplemented from ilMailNotification.
Definition at line 37 of file class.ilGroupMembershipMailNotification.php.
|
protected |
Get course status body.
int | $a_usr_id |
Definition at line 370 of file class.ilGroupMembershipMailNotification.php.
References ilMailNotification\$body, ilGroupParticipants\_getInstanceByObjId(), ilMailNotification\getLanguageText(), and ilMailNotification\getObjId().
Referenced by send().
|
protected |
Add language module crs.
object | $a_usr_id |
Reimplemented from ilMailNotification.
Definition at line 359 of file class.ilGroupMembershipMailNotification.php.
References ilMailNotification\getLanguage().
Referenced by send().
ilGroupMembershipMailNotification::send | ( | ) |
Send notifications.
Reimplemented from ilMailNotification.
Definition at line 46 of file class.ilGroupMembershipMailNotification.php.
References $ilSetting, ilMailNotification\appendBody(), createGroupStatus(), ilMailNotification\createPermanentLink(), ilMailNotification\getAdditionalInformation(), ilMailNotification\getLanguage(), ilMailNotification\getLanguageText(), ilMailNotification\getMail(), ilMailNotification\getObjectTitle(), ilMailNotification\getRecipients(), ilMail\getSalutation(), ilMailNotification\getType(), initLanguage(), ilMailNotification\initMail(), ilMailNotification\sendMail(), ilMailNotification\setBody(), ilMailNotification\setSubject(), and ilMailNotification\userToString().
const ilGroupMembershipMailNotification::TYPE_ACCEPTED_SUBSCRIPTION_MEMBER = 22 |
Definition at line 17 of file class.ilGroupMembershipMailNotification.php.
Referenced by ilObjGroupGUI\assignFromWaitingListObject(), ilObjGroupGUI\assignSubscribersObject(), and ilGroupParticipants\sendNotification().
const ilGroupMembershipMailNotification::TYPE_ADMISSION_MEMBER = 20 |
Definition at line 14 of file class.ilGroupMembershipMailNotification.php.
Referenced by ilCourseParticipantsGroupsGUI\add(), ilObjGroupGUI\addUserObject(), and ilGroupParticipants\sendNotification().
const ilGroupMembershipMailNotification::TYPE_BLOCKED_MEMBER = 25 |
Definition at line 22 of file class.ilGroupMembershipMailNotification.php.
const ilGroupMembershipMailNotification::TYPE_DISMISS_MEMBER = 21 |
Definition at line 15 of file class.ilGroupMembershipMailNotification.php.
Referenced by ilObjGroupGUI\deleteMembersObject(), ilCourseParticipantsGroupsGUI\remove(), and ilGroupParticipants\sendNotification().
const ilGroupMembershipMailNotification::TYPE_NOTIFICATION_REGISTRATION = 30 |
Definition at line 29 of file class.ilGroupMembershipMailNotification.php.
Referenced by ilGroupRegistrationGUI\add(), and ilGroupParticipants\sendNotification().
const ilGroupMembershipMailNotification::TYPE_NOTIFICATION_REGISTRATION_REQUEST = 31 |
Definition at line 30 of file class.ilGroupMembershipMailNotification.php.
Referenced by ilGroupRegistrationGUI\add(), and ilGroupParticipants\sendNotification().
const ilGroupMembershipMailNotification::TYPE_NOTIFICATION_UNSUBSCRIBE = 32 |
Definition at line 31 of file class.ilGroupMembershipMailNotification.php.
Referenced by ilGroupParticipants\sendNotification(), and ilObjGroupGUI\unsubscribeObject().
const ilGroupMembershipMailNotification::TYPE_REFUSED_SUBSCRIPTION_MEMBER = 23 |
Definition at line 18 of file class.ilGroupMembershipMailNotification.php.
Referenced by ilObjGroupGUI\refuseFromListObject(), ilObjGroupGUI\refuseSubscribersObject(), and ilGroupParticipants\sendNotification().
const ilGroupMembershipMailNotification::TYPE_STATUS_CHANGED = 24 |
Definition at line 20 of file class.ilGroupMembershipMailNotification.php.
Referenced by ilGroupParticipants\sendNotification(), and ilObjGroupGUI\updateMembersObject().
const ilGroupMembershipMailNotification::TYPE_SUBSCRIBE_MEMBER = 28 |
Definition at line 26 of file class.ilGroupMembershipMailNotification.php.
Referenced by ilGroupRegistrationGUI\add(), and ilGroupParticipants\sendNotification().
const ilGroupMembershipMailNotification::TYPE_UNBLOCKED_MEMBER = 26 |
Definition at line 23 of file class.ilGroupMembershipMailNotification.php.
const ilGroupMembershipMailNotification::TYPE_UNSUBSCRIBE_MEMBER = 27 |
Definition at line 25 of file class.ilGroupMembershipMailNotification.php.
Referenced by ilGroupParticipants\sendNotification(), and ilObjGroupGUI\unsubscribeObject().
const ilGroupMembershipMailNotification::TYPE_WAITING_LIST_MEMBER = 29 |
Definition at line 27 of file class.ilGroupMembershipMailNotification.php.
Referenced by ilGroupRegistrationGUI\add(), and ilGroupParticipants\sendNotification().