24 include_once
'./Services/Mail/classes/class.ilMailNotification.php';
63 $this->appointment_id = $a_id;
65 include_once
'./Services/Calendar/classes/class.ilCalendarEntry.php';
75 return $this->appointment;
89 include_once
'./Services/Calendar/classes/class.ilCalendarEntry.php';
91 $this->
appendBody($app->appointmentToMailString($this->getLanguage()));
101 global $rbacreview,
$lng;
105 case self::TYPE_USER:
108 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
124 $this->
getMail()->appendInstallationSignature(
true);
134 case self::TYPE_USER_ANONYMOUS:
139 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
156 $this->
getMail()->appendInstallationSignature(
true);
166 case self::TYPE_GRP_NEW_NOTIFICATION:
170 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
188 $this->
getMail()->appendInstallationSignature(
true);
192 $this->
sendMail(array(
'#il_grp_admin_'.$this->
getRefId(),
'#il_grp_member_'.$this->
getRefId()),array(
'system'),
false);
195 case self::TYPE_GRP_NOTIFICATION:
199 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
217 $this->
getMail()->appendInstallationSignature(
true);
221 $this->
sendMail(array(
'#il_grp_admin_'.$this->
getRefId(),
'#il_grp_member_'.$this->
getRefId()),array(
'system'),
false);
224 case self::TYPE_CRS_NEW_NOTIFICATION:
228 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
245 $this->
getMail()->appendInstallationSignature(
true);
252 case self::TYPE_CRS_NOTIFICATION:
256 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
274 $this->
getMail()->appendInstallationSignature(
true);
281 case self::TYPE_BOOKING_CONFIRMATION:
284 include_once
'Services/Calendar/classes/class.ilCalendarEntry.php';
285 include_once
'Services/Booking/classes/class.ilBookingEntry.php';
290 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
293 sprintf($this->
getLanguageText(
'cal_booking_confirmation_subject'),$entry->getTitle())
310 $this->
getMail()->appendInstallationSignature(
true);
312 $this->
sendMail(array($user_id),array(
'system'),
true);
318 $this->
sendMail(array($booking->getObjId()),array(
'system'),
true);
321 case self::TYPE_BOOKING_CANCELLATION:
324 include_once
'Services/Calendar/classes/class.ilCalendarEntry.php';
325 include_once
'Services/Booking/classes/class.ilBookingEntry.php';
331 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
334 sprintf($this->
getLanguageText(
'cal_booking_cancellation_subject'),$entry->getTitle())
345 $this->
getMail()->appendInstallationSignature(
true);
347 $this->
sendMail(array($user_id),array(
'system'),
true);
353 $this->
sendMail(array($booking->getObjId()),array(
'system'),
true);
364 include_once
'./Services/Calendar/classes/Export/class.ilCalendarExport.php';
370 include_once
'./Services/Mail/classes/class.ilFileDataMail.php';
372 $attachment->storeAsAttachment(
374 $export->getExportString()
389 include_once
'./Services/Mail/classes/class.ilFileDataMail.php';