ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilCalendarMailNotification Class Reference

Distributes calendar mail notifications. More...

+ Inheritance diagram for ilCalendarMailNotification:
+ Collaboration diagram for ilCalendarMailNotification:

Public Member Functions

 __construct (bool $a_is_personal_workspace=false)
 
 setAppointmentId (int $a_id)
 
 setBookerID (int $id)
 
 getBookerID ()
 
 getAppointment ()
 
 getAppointmentId ()
 
 appendAppointmentDetails ()
 
 send ()
 
- Public Member Functions inherited from ilMailNotification
 __construct (protected bool $is_in_wsp=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 TYPE_BOOKING_CONFIRMATION_MANAGER = 10
 
- Data Fields inherited from ilMailNotification
final const SUBJECT_TITLE_LENGTH = 60
 

Protected Member Functions

 addAttachment ()
 
 deleteAttachments ()
 
- Protected Member Functions inherited from ilMailNotification
 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
 
- Protected Attributes inherited from ilMailNotification
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 = []
 
ilWorkspaceTree $wsp_tree
 
ilWorkspaceAccessHandler $wsp_access_handler
 

Private Attributes

int $appointment_id = null
 
int $booker_id = 0
 
ilCalendarEntry $appointment = null
 

Detailed Description

Distributes calendar mail notifications.

Author
Stefan Meyer smeye.nosp@m.r.il.nosp@m.ias@g.nosp@m.mx.d.nosp@m.e

Definition at line 26 of file class.ilCalendarMailNotification.php.

Constructor & Destructor Documentation

◆ __construct()

ilCalendarMailNotification::__construct ( bool  $a_is_personal_workspace = false)

Definition at line 48 of file class.ilCalendarMailNotification.php.

References $DIC, ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\Repository\lng().

49  {
50  global $DIC;
51 
52  parent::__construct($a_is_personal_workspace);
53  $this->lng = $DIC->language();
54  $this->rbacreview = $DIC->rbac()->review();
55  }
global $DIC
Definition: shib_login.php:22
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

Member Function Documentation

◆ addAttachment()

ilCalendarMailNotification::addAttachment ( )
protected

Definition at line 455 of file class.ilCalendarMailNotification.php.

References ilCalendarExport\EXPORT_APPOINTMENTS, getAppointmentId(), ilMailNotification\getSender(), and ilMailNotification\setAttachments().

Referenced by send().

455  : void
456  {
457  $export = new ilCalendarExport();
458  $export->setExportType(ilCalendarExport::EXPORT_APPOINTMENTS);
459  $export->setAppointments([(int) $this->getAppointmentId()]);
460  $export->export();
461 
462  $ics_filename = 'appointment_' . (new DateTimeImmutable('now'))->format('Ymd_His_u') . '.ics';
463 
464  $attachment = new ilFileDataMail($this->getSender());
465  $effective_ics_filename = $attachment->storeAsAttachment(
466  $ics_filename,
467  $export->getExportString()
468  );
469 
470  $this->setAttachments([$effective_ics_filename]);
471  }
This class handles all operations on files (attachments) in directory ilias_data/mail.
Export calendar(s) to ical format
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ appendAppointmentDetails()

ilCalendarMailNotification::appendAppointmentDetails ( )

Definition at line 83 of file class.ilCalendarMailNotification.php.

References ilMailNotification\appendBody(), and getAppointmentId().

Referenced by send().

83  : void
84  {
85  $app = new ilCalendarEntry($this->getAppointmentId());
86  $this->appendBody($app->appointmentToMailString($this->getLanguage()));
87  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ deleteAttachments()

ilCalendarMailNotification::deleteAttachments ( )
protected

Definition at line 473 of file class.ilCalendarMailNotification.php.

References ilMailNotification\getAttachments(), and ilMailNotification\getSender().

Referenced by send().

473  : void
474  {
475  $attachment = new ilFileDataMail($this->getSender());
476  $attachment->unlinkFiles($this->getAttachments());
477  }
This class handles all operations on files (attachments) in directory ilias_data/mail.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getAppointment()

ilCalendarMailNotification::getAppointment ( )

Definition at line 73 of file class.ilCalendarMailNotification.php.

References $appointment.

Referenced by send().

+ Here is the caller graph for this function:

◆ getAppointmentId()

ilCalendarMailNotification::getAppointmentId ( )

Definition at line 78 of file class.ilCalendarMailNotification.php.

References $appointment_id.

Referenced by addAttachment(), appendAppointmentDetails(), send(), and setAppointmentId().

78  : ?int
79  {
80  return $this->appointment_id;
81  }
+ Here is the caller graph for this function:

◆ getBookerID()

ilCalendarMailNotification::getBookerID ( )

Definition at line 68 of file class.ilCalendarMailNotification.php.

References $booker_id.

Referenced by send().

68  : int
69  {
70  return $this->booker_id;
71  }
+ Here is the caller graph for this function:

◆ send()

ilCalendarMailNotification::send ( )

Definition at line 89 of file class.ilCalendarMailNotification.php.

References $comment, $message, $static_url, $user_id, ilLanguageFactory\_getLanguage(), ilObjUser\_lookupFullname(), addAttachment(), appendAppointmentDetails(), ilMailNotification\appendBody(), ilMailNotification\createPermanentLink(), deleteAttachments(), getAppointment(), getAppointmentId(), getBookerID(), ilMailNotification\getLanguage(), ilMailNotification\getLanguageText(), ilMailNotification\getMail(), ilMailNotification\getObjectTitle(), ilMailNotification\getRecipients(), ilMailNotification\getRefId(), ilMail\getSalutation(), ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle(), ilMailNotification\getType(), ilMailNotification\initLanguage(), ilMailNotification\initMail(), ILIAS\Repository\lng(), ilBookingEntry\lookupBookingMessage(), ilMailNotification\sendMail(), ilMailNotification\setBody(), ilMailNotification\setLanguage(), ilMailNotification\setSubject(), and TYPE_BOOKING_REMINDER.

89  : void
90  {
91  switch ($this->getType()) {
92  case self::TYPE_USER:
93  $rcps = $this->getRecipients();
94  $rcp = array_pop($rcps);
95  $this->initLanguage($rcp);
96  $this->getLanguage()->loadLanguageModule('dateplaner');
97  $this->initMail();
98  $this->setSubject(
99  sprintf(
100  $this->getLanguageText('cal_mail_notification_subject'),
101  $this->getAppointment()->getTitle()
102  )
103  );
104  $this->setBody(ilMail::getSalutation($rcp, $this->getLanguage()));
105  $this->appendBody("\n\n");
106  $this->appendBody(
107  $this->getLanguageText('cal_mail_notification_body')
108  );
109  $this->appendBody("\n\n");
110  $this->appendAppointmentDetails();
111  $this->appendBody("\n\n");
112  $this->getMail()->appendInstallationSignature(true);
113  $this->addAttachment();
114 
115  $this->sendMail(
116  $this->getRecipients(),
117  true
118  );
119  break;
120 
121  case self::TYPE_USER_ANONYMOUS:
122 
123  $rcps = $this->getRecipients();
124  $rcp = array_pop($rcps);
125 
126  $this->setLanguage(ilLanguageFactory::_getLanguage($this->lng->getDefaultLanguage()));
127  $this->getLanguage()->loadLanguageModule('dateplaner');
128  $this->getLanguage()->loadLanguageModule('mail');
129  $this->initMail();
130  $this->setSubject(
131  sprintf(
132  $this->getLanguageText('cal_mail_notification_subject'),
133  $this->getAppointment()->getTitle()
134  )
135  );
136  $this->setBody(ilMail::getSalutation(0, $this->getLanguage()));
137  $this->appendBody("\n\n");
138  $this->appendBody(
139  $this->getLanguageText('cal_mail_notification_body')
140  );
141  $this->appendBody("\n\n");
142  $this->appendAppointmentDetails();
143  $this->appendBody("\n\n");
144  $this->getMail()->appendInstallationSignature(true);
145  $this->addAttachment();
146 
147  $this->sendMail(
148  $this->getRecipients(),
149  false
150  );
151  break;
152 
153  case self::TYPE_GRP_NEW_NOTIFICATION:
154 
155  $this->setLanguage(ilLanguageFactory::_getLanguage($this->lng->getDefaultLanguage()));
156  $this->getLanguage()->loadLanguageModule('grp');
157  $this->getLanguage()->loadLanguageModule('dateplaner');
158  $this->initMail();
159  $this->setSubject(
160  sprintf($this->getLanguageText('cal_grp_new_notification_sub'), $this->getObjectTitle(true))
161  );
162  $this->setBody($this->getLanguageText('grp_notification_salutation'));
163  $this->appendBody("\n\n");
164  $this->appendBody(
165  sprintf($this->getLanguageText('cal_grp_new_notification_body'), $this->getObjectTitle(true))
166  );
167  $this->appendBody("\n\n");
168  $this->appendBody($this->getLanguageText('grp_mail_permanent_link'));
169  $this->appendBody("\n\n");
170 
171  $this->appendAppointmentDetails();
172 
173  $this->appendBody("\n\n");
174  $this->appendBody($this->createPermanentLink());
175  $this->getMail()->appendInstallationSignature(true);
176 
177  $this->addAttachment();
178 
179  $this->sendMail(
180  array('#il_grp_admin_' . $this->getRefId(), '#il_grp_member_' . $this->getRefId()),
181  false
182  );
183  break;
184 
185  case self::TYPE_GRP_NOTIFICATION:
186 
187  $this->setLanguage(ilLanguageFactory::_getLanguage($this->lng->getDefaultLanguage()));
188  $this->getLanguage()->loadLanguageModule('grp');
189  $this->getLanguage()->loadLanguageModule('dateplaner');
190  $this->initMail();
191  $this->setSubject(
192  sprintf($this->getLanguageText('cal_grp_notification_sub'), $this->getObjectTitle(true))
193  );
194  $this->setBody($this->getLanguageText('grp_notification_salutation'));
195  $this->appendBody("\n\n");
196  $this->appendBody(
197  sprintf($this->getLanguageText('cal_grp_notification_body'), $this->getObjectTitle(true))
198  );
199  $this->appendBody("\n\n");
200 
201  $this->appendAppointmentDetails();
202 
203  $this->appendBody("\n\n");
204  $this->appendBody($this->getLanguageText('grp_mail_permanent_link'));
205  $this->appendBody("\n\n");
206  $this->appendBody($this->createPermanentLink());
207  $this->getMail()->appendInstallationSignature(true);
208 
209  $this->addAttachment();
210 
211  $this->sendMail(
212  array('#il_grp_admin_' . $this->getRefId(), '#il_grp_member_' . $this->getRefId()),
213  false
214  );
215  break;
216 
217  case self::TYPE_CRS_NEW_NOTIFICATION:
218 
219  $this->setLanguage(ilLanguageFactory::_getLanguage($this->lng->getDefaultLanguage()));
220  $this->getLanguage()->loadLanguageModule('crs');
221  $this->getLanguage()->loadLanguageModule('dateplaner');
222  $this->initMail();
223  $this->setSubject(
224  sprintf($this->getLanguageText('cal_crs_new_notification_sub'), $this->getObjectTitle(true))
225  );
226  $this->setBody($this->getLanguageText('crs_notification_salutation'));
227  $this->appendBody("\n\n");
228  $this->appendBody(
229  sprintf($this->getLanguageText('cal_crs_new_notification_body'), $this->getObjectTitle(true))
230  );
231  $this->appendBody("\n\n");
232  $this->appendBody($this->getLanguageText('crs_mail_permanent_link'));
233  $this->appendBody("\n\n");
234  $this->appendBody($this->createPermanentLink());
235  $this->appendBody("\n\n");
236  $this->appendAppointmentDetails();
237 
238  $this->getMail()->appendInstallationSignature(true);
239 
240  $this->addAttachment();
241 
242  $this->sendMail(array('#il_crs_admin_' . $this->getRefId(),
243  '#il_crs_tutor_' . $this->getRefId(),
244  '#il_crs_member_' . $this->getRefId()
245  ), false);
246  break;
247 
248  case self::TYPE_CRS_NOTIFICATION:
249 
250  $this->setLanguage(ilLanguageFactory::_getLanguage($this->lng->getDefaultLanguage()));
251  $this->getLanguage()->loadLanguageModule('crs');
252  $this->getLanguage()->loadLanguageModule('dateplaner');
253  $this->initMail();
254  $this->setSubject(
255  sprintf($this->getLanguageText('cal_crs_notification_sub'), $this->getObjectTitle(true))
256  );
257  $this->setBody($this->getLanguageText('crs_notification_salutation'));
258  $this->appendBody("\n\n");
259  $this->appendBody(
260  sprintf($this->getLanguageText('cal_crs_notification_body'), $this->getObjectTitle(true))
261  );
262  $this->appendBody("\n\n");
263 
264  $this->appendAppointmentDetails();
265 
266  $this->appendBody("\n\n");
267  $this->appendBody($this->getLanguageText('crs_mail_permanent_link'));
268  $this->appendBody("\n\n");
269  $this->appendBody($this->createPermanentLink());
270  $this->getMail()->appendInstallationSignature(true);
271 
272  $this->addAttachment();
273 
274  $this->sendMail(array('#il_crs_admin_' . $this->getRefId(),
275  '#il_crs_tutor_' . $this->getRefId(),
276  '#il_crs_member_' . $this->getRefId()
277  ), false);
278  break;
279 
280  case self::TYPE_BOOKING_CONFIRMATION:
281 
282  $rcps = $this->getRecipients();
283  $user_id = array_pop($rcps);
284  $entry = new ilCalendarEntry($this->getAppointmentId());
285  $booking = new ilBookingEntry($entry->getContextId());
286 
287  $this->initLanguage($user_id);
288  $this->getLanguage()->loadLanguageModule('dateplaner');
289  $this->initMail();
290  $this->setSubject(
291  sprintf($this->getLanguageText('cal_booking_confirmation_subject'), $entry->getTitle())
292  );
294  $this->appendBody("\n\n");
295  $this->appendBody(
296  sprintf(
297  $this->getLanguageText('cal_booking_confirmation_body'),
298  ilObjUser::_lookupFullname($booking->getObjId())
299  )
300  );
301  $this->appendBody("\n\n");
302  $this->appendAppointmentDetails();
303 
304  $comment = ilBookingEntry::lookupBookingMessage($entry->getEntryId(), $user_id);
305  if ($comment !== '') {
306  $this->appendBody("\n\n");
307  $this->appendBody(
308  $this->getLanguageText('cal_ch_booking_your_comment') . ' "' .
309  $comment
310  . '"'
311  );
312  $this->appendBody("\n\n");
313  }
314  $this->getMail()->appendInstallationSignature(true);
315  $this->sendMail(array($user_id), true);
316  break;
317 
318  case self::TYPE_BOOKING_CONFIRMATION_MANAGER:
319 
320  $rcps = $this->getRecipients();
321  $user_id = array_pop($rcps);
322  $entry = new ilCalendarEntry($this->getAppointmentId());
323  $booking = new ilBookingEntry($entry->getContextId());
324 
325  $this->initLanguage($user_id);
326  $this->getLanguage()->loadLanguageModule('dateplaner');
327  $this->initMail();
328  $this->setSubject(
329  sprintf($this->getLanguageText('cal_booking_confirmation_subject'), $entry->getTitle())
330  );
332  $this->appendBody("\n\n");
333  if ($user_id == $booking->getObjId()) {
334  $message = sprintf(
335  $this->getLanguageText('cal_booking_owner_confirmation_body'),
337  );
338  } else {
339  $message = sprintf(
340  $this->getLanguageText('cal_booking_manager_confirmation_body'),
342  ilObjUser::_lookupFullname($booking->getObjId())
343  );
344  }
345  $this->appendBody($message);
346  $this->appendBody("\n\n");
347  $this->appendAppointmentDetails();
348 
349  $comment = ilBookingEntry::lookupBookingMessage($entry->getEntryId(), $this->getBookerID());
350  if ($comment !== '') {
351  $this->appendBody("\n\n");
352  $this->appendBody(
353  $this->getLanguageText('cal_ch_booking_comment') . ' "' .
354  $comment
355  . '"'
356  );
357  $this->appendBody("\n\n");
358  }
359 
360  $participants = [];
361  foreach ($booking->getCurrentBookings($entry->getEntryId()) as $bookusers) {
362  if ($bookusers === $this->getBookerID()) {
363  continue;
364  }
365  $participants[] = ilObjUser::_lookupFullname($bookusers);
366  }
367  if ($participants !== []) {
368  $this->appendBody(
369  $this->getLanguageText('cal_ch_booking_other_participants') . ' ' .
370  implode(', ', $participants)
371  );
372  }
373 
374  $static_url = new \ILIAS\Calendar\URL\CalendarStaticURLHandler();
375  $uri = $static_url->buildConsultationHoursURI();
376  $this->appendBody("\n\n");
377  $this->appendBody(
378  $this->getLanguageText('cal_ch_booking_link') . ' ' . $uri
379  );
380 
381  $this->getMail()->appendInstallationSignature(true);
382  $this->sendMail(array($user_id), true);
383  break;
384 
385  case self::TYPE_BOOKING_CANCELLATION:
386 
387  $rcps = $this->getRecipients();
388  $user_id = array_pop($rcps);
389  $entry = new ilCalendarEntry($this->getAppointmentId());
390  $booking = new ilBookingEntry($entry->getContextId());
391 
392  $rcps = $this->getRecipients();
393  $user_id = array_pop($rcps);
394  $this->initLanguage($user_id);
395  $this->getLanguage()->loadLanguageModule('dateplaner');
396  $this->initMail();
397  $this->setSubject(
398  sprintf($this->getLanguageText('cal_booking_cancellation_subject'), $entry->getTitle())
399  );
401  $this->appendBody("\n\n");
402  $this->appendBody(
403  sprintf(
404  $this->getLanguageText('cal_booking_cancellation_body'),
405  ilObjUser::_lookupFullname($booking->getObjId())
406  )
407  );
408  $this->appendBody("\n\n");
409 
410  $this->appendAppointmentDetails();
411 
412  $this->getMail()->appendInstallationSignature(true);
413 
414  $this->sendMail(array($user_id), true);
415 
416  $this->appendBody("\n\n");
417  $this->appendBody($this->getLanguageText('cal_booking_cancellation_user') . "\n");
419 
420  $this->sendMail(array($booking->getObjId()), true);
421  break;
422 
424 
425  $rcps = $this->getRecipients();
426  $user_id = array_pop($rcps);
427 
428  $entry = new ilCalendarEntry($this->getAppointmentId());
429  $booking = new ilBookingEntry($entry->getContextId());
430 
431  $this->initLanguage($user_id);
432  $this->getLanguage()->loadLanguageModule('dateplaner');
433  $this->initMail();
434  $this->setSubject(
435  sprintf($this->getLanguageText('cal_ch_booking_reminder_subject'), $entry->getTitle())
436  );
438  $this->appendBody("\n\n");
439  $this->appendBody(
440  sprintf(
441  $this->getLanguageText('cal_ch_booking_reminder_body'),
442  ilObjUser::_lookupFullname($booking->getObjId())
443  )
444  );
445  $this->appendBody("\n\n");
446  $this->appendAppointmentDetails();
447  $this->getMail()->appendInstallationSignature(true);
448  $this->sendMail(array($user_id), true);
449  break;
450  }
451 
452  $this->deleteAttachments();
453  }
sendMail(array $a_rcp, bool $a_parse_recipients=true)
static _lookupFullname(int $a_user_id)
$static_url
Definition: goto.php:29
static getSalutation(int $a_usr_id, ?ilLanguage $a_language=null)
static _getLanguage(string $a_lang_key='')
Get language object.
getLanguageText(string $a_keyword)
$comment
Definition: buildRTE.php:72
getObjectTitle(bool $a_shorten=false)
createPermanentLink(array $a_params=[], string $a_append='')
setSubject(string $a_subject)
$message
Definition: xapiexit.php:31
static lookupBookingMessage(int $a_entry_id, int $a_usr_id)
setLanguage(ilLanguage $a_language)
+ Here is the call graph for this function:

◆ setAppointmentId()

ilCalendarMailNotification::setAppointmentId ( int  $a_id)

Definition at line 57 of file class.ilCalendarMailNotification.php.

References getAppointmentId().

57  : void
58  {
59  $this->appointment_id = $a_id;
60  $this->appointment = new ilCalendarEntry($this->getAppointmentId());
61  }
+ Here is the call graph for this function:

◆ setBookerID()

ilCalendarMailNotification::setBookerID ( int  $id)

Definition at line 63 of file class.ilCalendarMailNotification.php.

References $id.

63  : void
64  {
65  $this->booker_id = $id;
66  }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23

Field Documentation

◆ $appointment

ilCalendarEntry ilCalendarMailNotification::$appointment = null
private

Definition at line 43 of file class.ilCalendarMailNotification.php.

Referenced by getAppointment().

◆ $appointment_id

int ilCalendarMailNotification::$appointment_id = null
private

Definition at line 40 of file class.ilCalendarMailNotification.php.

Referenced by getAppointmentId().

◆ $booker_id

int ilCalendarMailNotification::$booker_id = 0
private

Definition at line 42 of file class.ilCalendarMailNotification.php.

Referenced by getBookerID().

◆ $lng

ilLanguage ilCalendarMailNotification::$lng
protected

Definition at line 45 of file class.ilCalendarMailNotification.php.

◆ $rbacreview

ilRbacReview ilCalendarMailNotification::$rbacreview
protected

Definition at line 46 of file class.ilCalendarMailNotification.php.

◆ TYPE_BOOKING_CANCELLATION

const ilCalendarMailNotification::TYPE_BOOKING_CANCELLATION = 6

Definition at line 33 of file class.ilCalendarMailNotification.php.

Referenced by ilBookingEntry\cancelBooking().

◆ TYPE_BOOKING_CONFIRMATION

const ilCalendarMailNotification::TYPE_BOOKING_CONFIRMATION = 5

◆ TYPE_BOOKING_CONFIRMATION_MANAGER

const ilCalendarMailNotification::TYPE_BOOKING_CONFIRMATION_MANAGER = 10

◆ TYPE_BOOKING_REMINDER

const ilCalendarMailNotification::TYPE_BOOKING_REMINDER = 9

Definition at line 36 of file class.ilCalendarMailNotification.php.

Referenced by ilConsultationHourCron\run(), and send().

◆ TYPE_CRS_NEW_NOTIFICATION

const ilCalendarMailNotification::TYPE_CRS_NEW_NOTIFICATION = 4

◆ TYPE_CRS_NOTIFICATION

const ilCalendarMailNotification::TYPE_CRS_NOTIFICATION = 3

◆ TYPE_GRP_NEW_NOTIFICATION

const ilCalendarMailNotification::TYPE_GRP_NEW_NOTIFICATION = 2

◆ TYPE_GRP_NOTIFICATION

const ilCalendarMailNotification::TYPE_GRP_NOTIFICATION = 1

◆ TYPE_USER

const ilCalendarMailNotification::TYPE_USER = 7

◆ TYPE_USER_ANONYMOUS

const ilCalendarMailNotification::TYPE_USER_ANONYMOUS = 8

The documentation for this class was generated from the following file: