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');
246 $this->
getMail()->appendInstallationSignature(
true);
253 case self::TYPE_CRS_NOTIFICATION:
257 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
275 $this->
getMail()->appendInstallationSignature(
true);
282 case self::TYPE_BOOKING_CONFIRMATION:
285 include_once
'Services/Calendar/classes/class.ilCalendarEntry.php';
286 include_once
'Services/Booking/classes/class.ilBookingEntry.php';
291 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
294 sprintf($this->
getLanguageText(
'cal_booking_confirmation_subject'),$entry->getTitle())
311 $this->
getMail()->appendInstallationSignature(
true);
313 $this->
sendMail(array($user_id),array(
'system'),
true);
319 $this->
sendMail(array($booking->getObjId()),array(
'system'),
true);
322 case self::TYPE_BOOKING_CANCELLATION:
325 include_once
'Services/Calendar/classes/class.ilCalendarEntry.php';
326 include_once
'Services/Booking/classes/class.ilBookingEntry.php';
332 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
335 sprintf($this->
getLanguageText(
'cal_booking_cancellation_subject'),$entry->getTitle())
346 $this->
getMail()->appendInstallationSignature(
true);
348 $this->
sendMail(array($user_id),array(
'system'),
true);
354 $this->
sendMail(array($booking->getObjId()),array(
'system'),
true);
361 include_once
'Services/Calendar/classes/class.ilCalendarEntry.php';
362 include_once
'Services/Booking/classes/class.ilBookingEntry.php';
367 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
370 sprintf($this->
getLanguageText(
'cal_ch_booking_reminder_subject'),$entry->getTitle())
381 $this->
getMail()->appendInstallationSignature(
true);
382 $this->
sendMail(array($user_id),array(
'system'),
true);
394 include_once
'./Services/Calendar/classes/Export/class.ilCalendarExport.php';
400 include_once
'./Services/Mail/classes/class.ilFileDataMail.php';
402 $attachment->storeAsAttachment(
404 $export->getExportString()
419 include_once
'./Services/Mail/classes/class.ilFileDataMail.php';