24 include_once
'./Services/Mail/classes/class.ilMailNotification.php';
60 $this->appointment_id = $a_id;
74 include_once
'./Services/Calendar/classes/class.ilCalendarEntry.php';
76 $this->
appendBody($app->appointmentToMailString($this->getLanguage()));
86 global $rbacreview,
$lng;
90 case self::TYPE_GRP_NEW_NOTIFICATION:
94 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
112 $this->
getMail()->appendInstallationSignature(
true);
114 $this->
sendMail(array(
'#il_grp_admin_'.$this->
getRefId(),
'#il_grp_member_'.$this->
getRefId()),array(
'system'),
false);
117 case self::TYPE_GRP_NOTIFICATION:
121 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
139 $this->
getMail()->appendInstallationSignature(
true);
141 $this->
sendMail(array(
'#il_grp_admin_'.$this->
getRefId(),
'#il_grp_member_'.$this->
getRefId()),array(
'system'),
false);
144 case self::TYPE_CRS_NEW_NOTIFICATION:
148 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
166 $this->
getMail()->appendInstallationSignature(
true);
171 case self::TYPE_CRS_NOTIFICATION:
175 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
193 $this->
getMail()->appendInstallationSignature(
true);
198 case self::TYPE_BOOKING_CONFIRMATION:
201 include_once
'Services/Calendar/classes/class.ilCalendarEntry.php';
202 include_once
'Services/Booking/classes/class.ilBookingEntry.php';
207 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
210 sprintf($this->
getLanguageText(
'cal_booking_confirmation_subject'),$entry->getTitle())
227 $this->
getMail()->appendInstallationSignature(
true);
229 $this->
sendMail(array($user_id),array(
'system'),
true);
235 $this->
sendMail(array($booking->getObjId()),array(
'system'),
true);
238 case self::TYPE_BOOKING_CANCELLATION:
241 include_once
'Services/Calendar/classes/class.ilCalendarEntry.php';
242 include_once
'Services/Booking/classes/class.ilBookingEntry.php';
248 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
251 sprintf($this->
getLanguageText(
'cal_booking_cancellation_subject'),$entry->getTitle())
262 $this->
getMail()->appendInstallationSignature(
true);
264 $this->
sendMail(array($user_id),array(
'system'),
true);
270 $this->
sendMail(array($booking->getObjId()),array(
'system'),
true);