ILIAS
release_4-3 Revision
|
Distributes calendar mail notifications. More...
Public Member Functions | |
__construct () | |
Constructor. | |
setAppointmentId ($a_id) | |
Set calendar appointment id. | |
getAppointment () | |
Get appointment. | |
getAppointmentId () | |
get appointment id | |
appendAppointmentDetails () | |
send () | |
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_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 |
Data Fields inherited from ilMailNotification | |
const | SUBJECT_TITLE_LENGTH = 60 |
Protected Member Functions | |
addAttachment () | |
deleteAttachments () | |
Delete attachments. | |
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. | |
initLanguage ($a_usr_id) | |
Init language. | |
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. |
Private Attributes | |
$appointment_id = null |
Additional Inherited Members | |
Protected Attributes inherited from ilMailNotification | |
$language = null |
Distributes calendar mail notifications.
Definition at line 34 of file class.ilCalendarMailNotification.php.
ilCalendarMailNotification::__construct | ( | ) |
Constructor.
Reimplemented from ilMailNotification.
Definition at line 51 of file class.ilCalendarMailNotification.php.
References ilMailNotification\setSender().
|
protected |
Definition at line 360 of file class.ilCalendarMailNotification.php.
References $ilUser, ilCalendarExport\EXPORT_APPOINTMENTS, getAppointmentId(), ilMailNotification\getSender(), and ilMailNotification\setAttachments().
Referenced by send().
ilCalendarMailNotification::appendAppointmentDetails | ( | ) |
Definition at line 87 of file class.ilCalendarMailNotification.php.
References ilMailNotification\appendBody(), and getAppointmentId().
Referenced by send().
|
protected |
Delete attachments.
Definition at line 387 of file class.ilCalendarMailNotification.php.
References ilMailNotification\getAttachments(), and ilMailNotification\getSender().
Referenced by send().
ilCalendarMailNotification::getAppointment | ( | ) |
Get appointment.
Definition at line 73 of file class.ilCalendarMailNotification.php.
Referenced by send().
ilCalendarMailNotification::getAppointmentId | ( | ) |
get appointment id
Definition at line 82 of file class.ilCalendarMailNotification.php.
References $appointment_id.
Referenced by addAttachment(), appendAppointmentDetails(), send(), and setAppointmentId().
ilCalendarMailNotification::send | ( | ) |
Reimplemented from ilMailNotification.
Definition at line 99 of file class.ilCalendarMailNotification.php.
References $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(), and ilMailNotification\setSubject().
ilCalendarMailNotification::setAppointmentId | ( | $a_id | ) |
Set calendar appointment id.
object | $a_id |
Definition at line 61 of file class.ilCalendarMailNotification.php.
References getAppointmentId().
|
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().
const ilCalendarMailNotification::TYPE_BOOKING_CONFIRMATION = 5 |
Definition at line 40 of file class.ilCalendarMailNotification.php.
Referenced by ilBookingEntry\book().
const ilCalendarMailNotification::TYPE_CRS_NEW_NOTIFICATION = 4 |
Definition at line 39 of file class.ilCalendarMailNotification.php.
Referenced by ilCalendarAppointmentGUI\distributeNotifications().
const ilCalendarMailNotification::TYPE_CRS_NOTIFICATION = 3 |
Definition at line 38 of file class.ilCalendarMailNotification.php.
Referenced by ilCalendarAppointmentGUI\distributeNotifications().
const ilCalendarMailNotification::TYPE_GRP_NEW_NOTIFICATION = 2 |
Definition at line 37 of file class.ilCalendarMailNotification.php.
Referenced by ilCalendarAppointmentGUI\distributeNotifications().
const ilCalendarMailNotification::TYPE_GRP_NOTIFICATION = 1 |
Definition at line 36 of file class.ilCalendarMailNotification.php.
Referenced by ilCalendarAppointmentGUI\distributeNotifications().
const ilCalendarMailNotification::TYPE_USER = 7 |
Definition at line 43 of file class.ilCalendarMailNotification.php.
Referenced by ilCalendarAppointmentGUI\distributeUserNotifications().
const ilCalendarMailNotification::TYPE_USER_ANONYMOUS = 8 |
Definition at line 44 of file class.ilCalendarMailNotification.php.
Referenced by ilCalendarAppointmentGUI\distributeUserNotifications().