ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilAppointmentCustomModalPlugin.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
27{
30
31 public function setAppointment(ilCalendarEntry $a_appointment, ilDateTime $a_start_date): void
32 {
33 $this->appointment = $a_appointment;
34 $this->start_date = $a_start_date;
35 }
36
37 public function getAppointment(): ?ilCalendarEntry
38 {
39 return $this->appointment;
40 }
41
48 public function getStartDate(): ?ilDateTime
49 {
50 return $this->start_date;
51 }
52
56 abstract public function replaceContent(): string;
57
61 abstract public function addExtraContent(): string;
62
66 abstract public function infoscreenAddContent(ilInfoScreenGUI $a_info): ?ilInfoScreenGUI;
67
71 abstract public function toolbarAddItems(ilToolbarGUI $a_toolbar): ?ilToolbarGUI;
72
76 abstract public function toolbarReplaceContent(): ?ilToolbarGUI;
77
78 abstract public function editModalTitle(string $current_title): string;
79}
Abstract parent class for all calendar custom modals plugin classes.
addExtraContent()
Add content after the Infoscreen.
replaceContent()
Replace the content inside the modal.
getStartDate()
This is the date of the calendar entry, it's not the appointment start date.
infoscreenAddContent(ilInfoScreenGUI $a_info)
Add elements in the infoscreen.
toolbarReplaceContent()
Replace the toolbar for another one.
toolbarAddItems(ilToolbarGUI $a_toolbar)
Add elements in the toolbar.
editModalTitle(string $current_title)
setAppointment(ilCalendarEntry $a_appointment, ilDateTime $a_start_date)
Model for a calendar entry.
@classDescription Date and time handling
Class ilInfoScreenGUI.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...