ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilAppointmentCustomGridPlugin.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21use ILIAS\UI\Component\Item\Item as UiComponentItem;
22
30{
33
34 public function setAppointment(ilCalendarEntry $a_appointment, ilDateTime $a_start_date): void
35 {
36 $this->appointment = $a_appointment;
37 $this->start_date = $a_start_date;
38 }
39
43 public function getAppointment(): ?ilCalendarEntry
44 {
45 return $this->appointment;
46 }
47
51 public function getStartDate(): ?ilDateTime
52 {
53 return $this->start_date;
54 }
55
59 abstract public function replaceContent(string $content): string;
60
64 abstract public function addExtraContent(): string;
65
69 abstract public function addGlyph(): string;
70
74 abstract public function editShyButtonTitle(): string;
75
79 abstract public function editAgendaItem(UiComponentItem $item): UiComponentItem;
80}
Abstract parent class for all calendar custom grid plugin classes.
getAppointment()
Get the calendar entry (appointment['event'])
editShyButtonTitle()
Edit the shy button title.
editAgendaItem(UiComponentItem $item)
Modify the agenda item.
getStartDate()
Get the specific start date of the calendar entry, not the appointment starting date.
replaceContent(string $content)
Replaces the complete content in a calendar Grid.
addExtraContent()
Add extra content in the grid after the event title.
addGlyph()
Add glyph before the appointment title.
setAppointment(ilCalendarEntry $a_appointment, ilDateTime $a_start_date)
Model for a calendar entry.
@classDescription Date and time handling
Common interface to all items.
Definition: Item.php:32