24include_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;
107 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
123 $this->
getMail()->appendInstallationSignature(
true);
138 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
155 $this->
getMail()->appendInstallationSignature(
true);
169 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
187 $this->
getMail()->appendInstallationSignature(
true);
191 $this->
sendMail(array(
'#il_grp_admin_' . $this->
getRefId(),
'#il_grp_member_' . $this->
getRefId()), array(
'system'),
false);
198 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
216 $this->
getMail()->appendInstallationSignature(
true);
220 $this->
sendMail(array(
'#il_grp_admin_' . $this->
getRefId(),
'#il_grp_member_' . $this->
getRefId()), array(
'system'),
false);
227 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
244 $this->
getMail()->appendInstallationSignature(
true);
248 $this->
sendMail(array(
'#il_crs_admin_' . $this->
getRefId(),
'#il_crs_tutor_' . $this->
getRefId(),
'#il_crs_member_' . $this->
getRefId()), array(
'system'),
false);
255 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
273 $this->
getMail()->appendInstallationSignature(
true);
277 $this->
sendMail(array(
'#il_crs_admin_' . $this->
getRefId(),
'#il_crs_tutor_' . $this->
getRefId(),
'#il_crs_member_' . $this->
getRefId()), array(
'system'),
false);
283 include_once
'Services/Calendar/classes/class.ilCalendarEntry.php';
284 include_once
'Services/Booking/classes/class.ilBookingEntry.php';
289 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
309 $this->
getMail()->appendInstallationSignature(
true);
311 $this->
sendMail(array($user_id), array(
'system'),
true);
317 $this->
sendMail(array($booking->getObjId()), array(
'system'),
true);
323 include_once
'Services/Calendar/classes/class.ilCalendarEntry.php';
324 include_once
'Services/Booking/classes/class.ilBookingEntry.php';
330 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
344 $this->
getMail()->appendInstallationSignature(
true);
346 $this->
sendMail(array($user_id), array(
'system'),
true);
352 $this->
sendMail(array($booking->getObjId()), array(
'system'),
true);
359 include_once
'Services/Calendar/classes/class.ilCalendarEntry.php';
360 include_once
'Services/Booking/classes/class.ilBookingEntry.php';
365 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
379 $this->
getMail()->appendInstallationSignature(
true);
380 $this->
sendMail(array($user_id), array(
'system'),
true);
391 include_once
'./Services/Calendar/classes/Export/class.ilCalendarExport.php';
397 include_once
'./Services/Mail/classes/class.ilFileDataMail.php';
399 $attachment->storeAsAttachment(
401 $export->getExportString()
416 include_once
'./Services/Mail/classes/class.ilFileDataMail.php';
sprintf('%.4f', $callTime)
An exception for terminatinating execution or to throw for unit testing.
Model for a calendar entry.
@classDescription Export calendar(s) to ical format
const EXPORT_APPOINTMENTS
Distributes calendar mail notifications.
const TYPE_BOOKING_REMINDER
appendAppointmentDetails()
const TYPE_USER_ANONYMOUS
const TYPE_BOOKING_CONFIRMATION
getAppointmentId()
get appointment id
getAppointment()
Get appointment.
setAppointmentId($a_id)
Set calendar appointment id.
const TYPE_BOOKING_CANCELLATION
__construct()
Constructor.
const TYPE_CRS_NEW_NOTIFICATION
const TYPE_CRS_NOTIFICATION
const TYPE_GRP_NOTIFICATION
deleteAttachments()
Delete attachments.
const TYPE_GRP_NEW_NOTIFICATION
This class handles all operations on files (attachments) in directory ilias_data/mail.
static _getLanguage($a_lang_key='')
Get langauge object.
Base class for course/group mail notifications.
appendBody($a_body)
Append body text.
sendMail(array $a_rcp, $a_type, $a_parse_recipients=true)
getType()
Get notification type.
getSender()
get sender of mail
initLanguage($a_usr_id)
Init language.
setSender($a_usr_id)
Set sender of mail.
getRecipients()
get array of recipients
getAttachments()
Get attachments.
getObjectTitle($a_shorten=false)
setAttachments($a_att)
Set attachments.
getLanguageText($a_keyword)
createPermanentLink($a_params=array(), $a_append='')
static getSalutation($a_usr_id, ilLanguage $a_language=null)
static _lookupFullname($a_user_id)
Lookup Full Name.