ILIAS  release_8 Revision v8.24
class.ilAppointmentCustomGridPlugin.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
5/* Copyright (c) 1998-2017 ILIAS open source, Extended GPL, see docs/LICENSE */
6
7use ILIAS\UI\Component\Item\Item as UiComponentItem;
8
16{
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}
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)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
@classDescription Date and time handling
Common interface to all items.
Definition: Item.php:32