|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Distributes calendar mail notifications. More...
Inheritance diagram for ilCalendarMailNotification:
Collaboration diagram for ilCalendarMailNotification:Public Member Functions | |
| __construct () | |
| Constructor. More... | |
| setAppointmentId ($a_id) | |
| Set calendar appointment id. More... | |
| getAppointment () | |
| Get appointment. More... | |
| getAppointmentId () | |
| get appointment id More... | |
| appendAppointmentDetails () | |
| send () | |
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_GRP_NOTIFICATION = 1 |
| const | TYPE_GRP_NEW_NOTIFICATION = 2 |
| const | TYPE_CRS_NOTIFICATION = 3 |
| const | TYPE_CRS_NEW_NOTIFICATION = 4 |
| const | TYPE_BOOKING_CONFIRMATION = 5 |
| const | TYPE_BOOKING_CANCELLATION = 6 |
| const | TYPE_USER = 7 |
| const | TYPE_USER_ANONYMOUS = 8 |
| const | TYPE_BOOKING_REMINDER = 9 |
Data Fields inherited from ilMailNotification | |
| const | SUBJECT_TITLE_LENGTH = 60 |
Protected Member Functions | |
| addAttachment () | |
| deleteAttachments () | |
| Delete attachments. 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... | |
Private Attributes | |
| $appointment_id = null | |
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 | |
Distributes calendar mail notifications.
Definition at line 34 of file class.ilCalendarMailNotification.php.
| ilCalendarMailNotification::__construct | ( | ) |
Constructor.
Definition at line 51 of file class.ilCalendarMailNotification.php.
References ilMailNotification\setSender().
Here is the call graph for this function:
|
protected |
Definition at line 389 of file class.ilCalendarMailNotification.php.
References $DIC, $ilUser, ilCalendarExport\EXPORT_APPOINTMENTS, getAppointmentId(), ilMailNotification\getSender(), and ilMailNotification\setAttachments().
Referenced by send().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarMailNotification::appendAppointmentDetails | ( | ) |
Definition at line 87 of file class.ilCalendarMailNotification.php.
References $app, ilMailNotification\appendBody(), and getAppointmentId().
Referenced by send().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Delete attachments.
Definition at line 418 of file class.ilCalendarMailNotification.php.
References ilMailNotification\getAttachments(), and ilMailNotification\getSender().
Referenced by send().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarMailNotification::getAppointment | ( | ) |
Get appointment.
Definition at line 73 of file class.ilCalendarMailNotification.php.
Referenced by send().
Here is the caller graph for this function:| ilCalendarMailNotification::getAppointmentId | ( | ) |
get appointment id
Definition at line 82 of file class.ilCalendarMailNotification.php.
References $appointment_id.
Referenced by addAttachment(), appendAppointmentDetails(), send(), and setAppointmentId().
Here is the caller graph for this function:| ilCalendarMailNotification::send | ( | ) |
Definition at line 99 of file class.ilCalendarMailNotification.php.
References $DIC, $lng, ilLanguageFactory\_getLanguage(), ilObjUser\_lookupFullname(), addAttachment(), appendAppointmentDetails(), ilMailNotification\appendBody(), ilMailNotification\createPermanentLink(), deleteAttachments(), getAppointment(), getAppointmentId(), ilMailNotification\getLanguage(), ilMailNotification\getLanguageText(), ilMailNotification\getMail(), ilMailNotification\getObjectTitle(), ilMailNotification\getRecipients(), ilMailNotification\getRefId(), ilMail\getSalutation(), ilMailNotification\getType(), ilMailNotification\initLanguage(), ilMailNotification\initMail(), ilMailNotification\sendMail(), ilMailNotification\setBody(), ilMailNotification\setLanguage(), ilMailNotification\setSubject(), TYPE_BOOKING_CANCELLATION, TYPE_BOOKING_CONFIRMATION, TYPE_BOOKING_REMINDER, TYPE_CRS_NEW_NOTIFICATION, TYPE_CRS_NOTIFICATION, TYPE_GRP_NEW_NOTIFICATION, TYPE_GRP_NOTIFICATION, TYPE_USER, and TYPE_USER_ANONYMOUS.
Here is the call graph for this function:| ilCalendarMailNotification::setAppointmentId | ( | $a_id | ) |
Set calendar appointment id.
| object | $a_id |
Definition at line 61 of file class.ilCalendarMailNotification.php.
References getAppointmentId().
Here is the call graph for this function:
|
private |
Definition at line 46 of file class.ilCalendarMailNotification.php.
Referenced by getAppointmentId().
| const ilCalendarMailNotification::TYPE_BOOKING_CANCELLATION = 6 |
Definition at line 41 of file class.ilCalendarMailNotification.php.
Referenced by ilBookingEntry\cancelBooking(), and send().
| const ilCalendarMailNotification::TYPE_BOOKING_CONFIRMATION = 5 |
Definition at line 40 of file class.ilCalendarMailNotification.php.
Referenced by ilBookingEntry\book(), and send().
| const ilCalendarMailNotification::TYPE_BOOKING_REMINDER = 9 |
Definition at line 44 of file class.ilCalendarMailNotification.php.
Referenced by ilConsultationHourCron\run(), and send().
| const ilCalendarMailNotification::TYPE_CRS_NEW_NOTIFICATION = 4 |
Definition at line 39 of file class.ilCalendarMailNotification.php.
Referenced by ilCalendarAppointmentGUI\distributeNotifications(), and send().
| const ilCalendarMailNotification::TYPE_CRS_NOTIFICATION = 3 |
Definition at line 38 of file class.ilCalendarMailNotification.php.
Referenced by ilCalendarAppointmentGUI\distributeNotifications(), and send().
| const ilCalendarMailNotification::TYPE_GRP_NEW_NOTIFICATION = 2 |
Definition at line 37 of file class.ilCalendarMailNotification.php.
Referenced by ilCalendarAppointmentGUI\distributeNotifications(), and send().
| const ilCalendarMailNotification::TYPE_GRP_NOTIFICATION = 1 |
Definition at line 36 of file class.ilCalendarMailNotification.php.
Referenced by ilCalendarAppointmentGUI\distributeNotifications(), and send().
| const ilCalendarMailNotification::TYPE_USER = 7 |
Definition at line 42 of file class.ilCalendarMailNotification.php.
Referenced by ilCalendarAppointmentGUI\distributeUserNotifications(), and send().
| const ilCalendarMailNotification::TYPE_USER_ANONYMOUS = 8 |
Definition at line 43 of file class.ilCalendarMailNotification.php.
Referenced by ilCalendarAppointmentGUI\distributeUserNotifications(), and send().