ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilAppointmentCustomModalPlugin.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
27 {
29  protected ?ilDateTime $start_date;
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($current_title): string;
79 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ilInfoScreenGUI.
setAppointment(ilCalendarEntry $a_appointment, ilDateTime $a_start_date)
infoscreenAddContent(ilInfoScreenGUI $a_info)
Add elements in the infoscreen.
addExtraContent()
Add content after the Infoscreen.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
editModalTitle($current_title)
getStartDate()
This is the date of the calendar entry, it&#39;s not the appointment start date.
toolbarAddItems(ilToolbarGUI $a_toolbar)
Add elements in the toolbar.
replaceContent()
Replace the content inside the modal.
toolbarReplaceContent()
Replace the toolbar for another one.