ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilAppointmentCustomGridPlugin.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /* Copyright (c) 1998-2017 ILIAS open source, Extended GPL, see docs/LICENSE */
6 
8 
16 {
18  protected ?ilDateTime $start_date;
19 
20  public function setAppointment(ilCalendarEntry $a_appointment, ilDateTime $a_start_date): void
21  {
22  $this->appointment = $a_appointment;
23  $this->start_date = $a_start_date;
24  }
25 
29  public function getAppointment(): ?ilCalendarEntry
30  {
31  return $this->appointment;
32  }
33 
37  public function getStartDate(): ?ilDateTime
38  {
39  return $this->start_date;
40  }
41 
45  abstract public function replaceContent(string $content): string;
46 
50  abstract public function addExtraContent(): string;
51 
55  abstract public function addGlyph(): string;
56 
60  abstract public function editShyButtonTitle(): string;
61 
65  abstract public function editAgendaItem(UiComponentItem $item): UiComponentItem;
66 }
getAppointment()
Get the calendar entry (appointment[&#39;event&#39;])
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
editShyButtonTitle()
Edit the shy button title.
Abstract parent class for all calendar custom grid plugin classes.
addGlyph()
Add glyph before the appointment title.
setAppointment(ilCalendarEntry $a_appointment, ilDateTime $a_start_date)
addExtraContent()
Add extra content in the grid after the event title.
getStartDate()
Get the specific start date of the calendar entry, not the appointment starting date.
editAgendaItem(UiComponentItem $item)
Modify the agenda item.
replaceContent(string $content)
Replaces the complete content in a calendar Grid.