ILIAS
release_8 Revision v8.19
|
Distributes calendar mail notifications. More...
Public Member Functions | |
__construct (bool $a_is_personal_workspace=false) | |
setAppointmentId (int $a_id) | |
getAppointment () | |
getAppointmentId () | |
appendAppointmentDetails () | |
send () | |
![]() | |
__construct (bool $a_is_personal_workspace=false) | |
setType (int $a_type) | |
getType () | |
setSender (int $a_usr_id) | |
getSender () | |
setRecipients (array $a_rcp) | |
getRecipients () | |
setAttachments (array $a_att) | |
getAttachments () | |
setLangModules (array $a_modules) | |
getUserLanguage (int $a_usr_id) | |
setRefId (int $a_id) | |
getRefId () | |
getObjId () | |
setObjId (int $a_obj_id) | |
getObjType () | |
setAdditionalInformation (array $a_info) | |
getAdditionalInformation () | |
sendMail (array $a_rcp, bool $a_parse_recipients=true) | |
getBlockBorder () | |
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 |
![]() | |
const | SUBJECT_TITLE_LENGTH = 60 |
Protected Member Functions | |
addAttachment () | |
deleteAttachments () | |
![]() | |
setSubject (string $a_subject) | |
getSubject () | |
setBody (string $a_body) | |
appendBody (string $a_body) | |
getBody () | |
initLanguage (int $a_usr_id) | |
initLanguageByIso2Code (string $a_code='') | |
setLanguage (ilLanguage $a_language) | |
getLanguage () | |
getLanguageText (string $a_keyword) | |
getObjectTitle (bool $a_shorten=false) | |
initMail () | |
getMail () | |
createPermanentLink (array $a_params=[], string $a_append='') | |
userToString (int $a_usr_id) | |
isRefIdAccessible (int $a_user_id, int $a_ref_id, string $a_permission="read") | |
Protected Attributes | |
ilLanguage | $lng |
ilRbacReview | $rbacreview |
![]() | |
int | $type |
int | $sender |
ilMail | $mail = null |
string | $subject = '' |
string | $body = '' |
array | $attachments = [] |
ilLanguage | $language |
array | $lang_modules = [] |
array | $recipients = [] |
int | $ref_id |
int | $obj_id = 0 |
string | $obj_type = '' |
array | $additional_info = [] |
bool | $is_in_wsp |
ilWorkspaceTree | $wsp_tree |
ilWorkspaceAccessHandler | $wsp_access_handler |
Private Attributes | |
int | $appointment_id = null |
ilCalendarEntry | $appointment = null |
Distributes calendar mail notifications.
Definition at line 26 of file class.ilCalendarMailNotification.php.
ilCalendarMailNotification::__construct | ( | bool | $a_is_personal_workspace = false | ) |
Definition at line 44 of file class.ilCalendarMailNotification.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\Repository\lng().
|
protected |
Definition at line 377 of file class.ilCalendarMailNotification.php.
References ilCalendarExport\EXPORT_APPOINTMENTS, getAppointmentId(), ilMailNotification\getSender(), and ilMailNotification\setAttachments().
Referenced by send().
ilCalendarMailNotification::appendAppointmentDetails | ( | ) |
Definition at line 69 of file class.ilCalendarMailNotification.php.
References $app, ilMailNotification\appendBody(), and getAppointmentId().
Referenced by send().
|
protected |
Definition at line 395 of file class.ilCalendarMailNotification.php.
References ilMailNotification\getAttachments(), and ilMailNotification\getSender().
Referenced by send().
ilCalendarMailNotification::getAppointment | ( | ) |
Definition at line 59 of file class.ilCalendarMailNotification.php.
References $appointment.
Referenced by send().
ilCalendarMailNotification::getAppointmentId | ( | ) |
Definition at line 64 of file class.ilCalendarMailNotification.php.
References $appointment_id.
Referenced by addAttachment(), appendAppointmentDetails(), send(), and setAppointmentId().
ilCalendarMailNotification::send | ( | ) |
Definition at line 75 of file class.ilCalendarMailNotification.php.
References 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(), ILIAS\Repository\lng(), ilMailNotification\sendMail(), ilMailNotification\setBody(), ilMailNotification\setLanguage(), ilMailNotification\setSubject(), and TYPE_BOOKING_REMINDER.
ilCalendarMailNotification::setAppointmentId | ( | int | $a_id | ) |
Definition at line 53 of file class.ilCalendarMailNotification.php.
References getAppointmentId().
|
private |
Definition at line 39 of file class.ilCalendarMailNotification.php.
Referenced by getAppointment().
|
private |
Definition at line 38 of file class.ilCalendarMailNotification.php.
Referenced by getAppointmentId().
|
protected |
Definition at line 41 of file class.ilCalendarMailNotification.php.
|
protected |
Definition at line 42 of file class.ilCalendarMailNotification.php.
const ilCalendarMailNotification::TYPE_BOOKING_CANCELLATION = 6 |
Definition at line 33 of file class.ilCalendarMailNotification.php.
Referenced by ilBookingEntry\cancelBooking().
const ilCalendarMailNotification::TYPE_BOOKING_CONFIRMATION = 5 |
Definition at line 32 of file class.ilCalendarMailNotification.php.
Referenced by ilBookingEntry\book().
const ilCalendarMailNotification::TYPE_BOOKING_REMINDER = 9 |
Definition at line 36 of file class.ilCalendarMailNotification.php.
Referenced by ilConsultationHourCron\run(), and send().
const ilCalendarMailNotification::TYPE_CRS_NEW_NOTIFICATION = 4 |
Definition at line 31 of file class.ilCalendarMailNotification.php.
Referenced by ilCalendarAppointmentGUI\distributeNotifications().
const ilCalendarMailNotification::TYPE_CRS_NOTIFICATION = 3 |
Definition at line 30 of file class.ilCalendarMailNotification.php.
Referenced by ilCalendarAppointmentGUI\distributeNotifications().
const ilCalendarMailNotification::TYPE_GRP_NEW_NOTIFICATION = 2 |
Definition at line 29 of file class.ilCalendarMailNotification.php.
Referenced by ilCalendarAppointmentGUI\distributeNotifications().
const ilCalendarMailNotification::TYPE_GRP_NOTIFICATION = 1 |
Definition at line 28 of file class.ilCalendarMailNotification.php.
Referenced by ilCalendarAppointmentGUI\distributeNotifications().
const ilCalendarMailNotification::TYPE_USER = 7 |
Definition at line 34 of file class.ilCalendarMailNotification.php.
Referenced by ilCalendarAppointmentGUI\distributeUserNotifications().
const ilCalendarMailNotification::TYPE_USER_ANONYMOUS = 8 |
Definition at line 35 of file class.ilCalendarMailNotification.php.
Referenced by ilCalendarAppointmentGUI\distributeUserNotifications().