24 include_once
'./Services/Mail/classes/class.ilMailNotification.php';
64 $this->appointment_id = $a_id;
66 include_once
'./Services/Calendar/classes/class.ilCalendarEntry.php';
76 return $this->appointment;
90 include_once
'./Services/Calendar/classes/class.ilCalendarEntry.php';
92 $this->
appendBody($app->appointmentToMailString($this->getLanguage()));
102 global $rbacreview,
$lng;
106 case self::TYPE_USER:
109 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
125 $this->
getMail()->appendInstallationSignature(
true);
135 case self::TYPE_USER_ANONYMOUS:
140 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
157 $this->
getMail()->appendInstallationSignature(
true);
167 case self::TYPE_GRP_NEW_NOTIFICATION:
171 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
189 $this->
getMail()->appendInstallationSignature(
true);
193 $this->
sendMail(array(
'#il_grp_admin_'.$this->
getRefId(),
'#il_grp_member_'.$this->
getRefId()),array(
'system'),
false);
196 case self::TYPE_GRP_NOTIFICATION:
200 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
218 $this->
getMail()->appendInstallationSignature(
true);
222 $this->
sendMail(array(
'#il_grp_admin_'.$this->
getRefId(),
'#il_grp_member_'.$this->
getRefId()),array(
'system'),
false);
225 case self::TYPE_CRS_NEW_NOTIFICATION:
229 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
247 $this->
getMail()->appendInstallationSignature(
true);
254 case self::TYPE_CRS_NOTIFICATION:
258 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
276 $this->
getMail()->appendInstallationSignature(
true);
283 case self::TYPE_BOOKING_CONFIRMATION:
286 include_once
'Services/Calendar/classes/class.ilCalendarEntry.php';
287 include_once
'Services/Booking/classes/class.ilBookingEntry.php';
292 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
295 sprintf($this->
getLanguageText(
'cal_booking_confirmation_subject'),$entry->getTitle())
312 $this->
getMail()->appendInstallationSignature(
true);
314 $this->
sendMail(array($user_id),array(
'system'),
true);
320 $this->
sendMail(array($booking->getObjId()),array(
'system'),
true);
323 case self::TYPE_BOOKING_CANCELLATION:
326 include_once
'Services/Calendar/classes/class.ilCalendarEntry.php';
327 include_once
'Services/Booking/classes/class.ilBookingEntry.php';
333 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
336 sprintf($this->
getLanguageText(
'cal_booking_cancellation_subject'),$entry->getTitle())
347 $this->
getMail()->appendInstallationSignature(
true);
349 $this->
sendMail(array($user_id),array(
'system'),
true);
355 $this->
sendMail(array($booking->getObjId()),array(
'system'),
true);
362 include_once
'Services/Calendar/classes/class.ilCalendarEntry.php';
363 include_once
'Services/Booking/classes/class.ilBookingEntry.php';
368 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
371 sprintf($this->
getLanguageText(
'cal_ch_booking_reminder_subject'),$entry->getTitle())
382 $this->
getMail()->appendInstallationSignature(
true);
383 $this->
sendMail(array($user_id),array(
'system'),
true);
395 include_once
'./Services/Calendar/classes/Export/class.ilCalendarExport.php';
401 include_once
'./Services/Mail/classes/class.ilFileDataMail.php';
403 $attachment->storeAsAttachment(
405 $export->getExportString()
420 include_once
'./Services/Mail/classes/class.ilFileDataMail.php';