19 declare(strict_types=1);
    48     public function __construct(
bool $a_is_personal_workspace = 
false)
    53         $this->
lng = $DIC->language();
    54         $this->rbacreview = $DIC->rbac()->review();
    59         $this->appointment_id = $a_id;
    65         $this->booker_id = 
$id;
    86         $this->
appendBody($app->appointmentToMailString($this->getLanguage()));
    89     public function send(): void
    94                 $rcp = array_pop($rcps);
    96                 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
   112                 $this->
getMail()->appendInstallationSignature(
true);
   121             case self::TYPE_USER_ANONYMOUS:
   124                 $rcp = array_pop($rcps);
   127                 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
   144                 $this->
getMail()->appendInstallationSignature(
true);
   153             case self::TYPE_GRP_NEW_NOTIFICATION:
   157                 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
   175                 $this->
getMail()->appendInstallationSignature(
true);
   180                     array(
'#il_grp_admin_' . $this->
getRefId(), 
'#il_grp_member_' . $this->
getRefId()),
   185             case self::TYPE_GRP_NOTIFICATION:
   189                 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
   207                 $this->
getMail()->appendInstallationSignature(
true);
   212                     array(
'#il_grp_admin_' . $this->
getRefId(), 
'#il_grp_member_' . $this->
getRefId()),
   217             case self::TYPE_CRS_NEW_NOTIFICATION:
   221                 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
   238                 $this->
getMail()->appendInstallationSignature(
true);
   243                                       '#il_crs_tutor_' . $this->
getRefId(),
   244                                       '#il_crs_member_' . $this->
getRefId()
   248             case self::TYPE_CRS_NOTIFICATION:
   252                 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
   270                 $this->
getMail()->appendInstallationSignature(
true);
   275                                       '#il_crs_tutor_' . $this->
getRefId(),
   276                                       '#il_crs_member_' . $this->
getRefId()
   280             case self::TYPE_BOOKING_CONFIRMATION:
   288                 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
   291                     sprintf($this->
getLanguageText(
'cal_booking_confirmation_subject'), $entry->getTitle())
   314                 $this->
getMail()->appendInstallationSignature(
true);
   318             case self::TYPE_BOOKING_CONFIRMATION_MANAGER:
   326                 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
   329                     sprintf($this->
getLanguageText(
'cal_booking_confirmation_subject'), $entry->getTitle())
   333                 if (
$user_id == $booking->getObjId()) {
   361                 foreach ($booking->getCurrentBookings($entry->getEntryId()) as $bookusers) {
   367                 if ($participants !== []) {
   370                         implode(
', ', $participants)
   374                 $static_url = new \ILIAS\Calendar\URL\CalendarStaticURLHandler();
   381                 $this->
getMail()->appendInstallationSignature(
true);
   385             case self::TYPE_BOOKING_CANCELLATION:
   395                 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
   398                     sprintf($this->
getLanguageText(
'cal_booking_cancellation_subject'), $entry->getTitle())
   412                 $this->
getMail()->appendInstallationSignature(
true);
   420                 $this->
sendMail(array($booking->getObjId()), 
true);
   432                 $this->
getLanguage()->loadLanguageModule(
'dateplaner');
   435                     sprintf($this->
getLanguageText(
'cal_ch_booking_reminder_subject'), $entry->getTitle())
   447                 $this->
getMail()->appendInstallationSignature(
true);
   462         $ics_filename = 
'appointment_' . (
new DateTimeImmutable(
'now'))->format(
'Ymd_His_u') . 
'.ics';
   465         $effective_ics_filename = $attachment->storeAsAttachment(
   467             $export->getExportString()
 
appendBody(string $a_body)
 
const EXPORT_APPOINTMENTS
 
const TYPE_BOOKING_REMINDER
 
const TYPE_BOOKING_CONFIRMATION
 
sendMail(array $a_rcp, bool $a_parse_recipients=true)
 
This class handles all operations on files (attachments) in directory ilias_data/mail. 
 
static _lookupFullname(int $a_user_id)
 
Distributes calendar mail notifications. 
 
const TYPE_BOOKING_CONFIRMATION_MANAGER
 
ilCalendarEntry $appointment
 
const TYPE_GRP_NEW_NOTIFICATION
 
static getSalutation(int $a_usr_id, ?ilLanguage $a_language=null)
 
Export calendar(s) to ical format 
 
const TYPE_CRS_NOTIFICATION
 
initLanguage(int $a_usr_id)
 
static _getLanguage(string $a_lang_key='')
Get language object. 
 
getLanguageText(string $a_keyword)
 
const TYPE_BOOKING_CANCELLATION
 
getObjectTitle(bool $a_shorten=false)
 
setAppointmentId(int $a_id)
 
createPermanentLink(array $a_params=[], string $a_append='')
 
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins 
 
__construct(Container $dic, ilPlugin $plugin)
 
const TYPE_GRP_NOTIFICATION
 
setSubject(string $a_subject)
 
static lookupBookingMessage(int $a_entry_id, int $a_usr_id)
 
const TYPE_CRS_NEW_NOTIFICATION
 
setLanguage(ilLanguage $a_language)
 
__construct(bool $a_is_personal_workspace=false)
 
const TYPE_USER_ANONYMOUS
 
appendAppointmentDetails()
 
setAttachments(array $a_att)