ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilAppointmentCustomGridPlugin.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2017 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
require_once
'Services/Component/classes/class.ilPlugin.php'
;
5
12
abstract
class
ilAppointmentCustomGridPlugin
extends
ilPlugin
13
{
17
protected
$appointment
;
18
22
protected
$start_date
;
23
28
public
function
setAppointment
(
ilCalendarEntry
$a_appointment,
ilDateTime
$a_start_date)
29
{
30
$this->appointment = $a_appointment;
31
$this->start_date = $a_start_date;
32
}
33
38
public
function
getAppointment
()
39
{
40
return
$this->appointment
;
41
}
42
47
public
function
getStartDate
()
48
{
49
return
$this->start_date
;
50
}
51
56
final
public
function
getComponentType
()
57
{
58
return
IL_COMP_SERVICE
;
59
}
60
65
final
public
function
getComponentName
()
66
{
67
return
"Calendar"
;
68
}
69
74
final
public
function
getSlot
()
75
{
76
return
"AppointmentCustomGrid"
;
77
}
78
83
final
public
function
getSlotId
()
84
{
85
return
"capg"
;
86
}
87
91
final
public
function
slotInit
()
92
{
93
//nothing to do here.
94
}
95
96
//Day, Week and Month views.
97
103
abstract
public
function
replaceContent
($content);
104
109
abstract
public
function
addExtraContent
();
110
115
abstract
public
function
addGlyph
();
116
121
abstract
public
function
editShyButtonTitle
();
122
123
124
//List view.
128
abstract
public
function
editAgendaItem
(\
ILIAS
\
UI
\
Component
\Item\Item $item);
129
}
ilAppointmentCustomGridPlugin\getAppointment
getAppointment()
Get the calendar entry (appointment['event'])
Definition:
class.ilAppointmentCustomGridPlugin.php:38
ilCalendarEntry
Model for a calendar entry.
Definition:
class.ilCalendarEntry.php:20
ilAppointmentCustomGridPlugin\editShyButtonTitle
editShyButtonTitle()
Edit the shy button title.
UI
Class Factory.
ILIAS
Class BaseForm.
ilAppointmentCustomGridPlugin\editAgendaItem
editAgendaItem(\ILIAS\UI\Component\Item\Item $item)
ilAppointmentCustomGridPlugin
Abstract parent class for all calendar custom grid plugin classes.
Definition:
class.ilAppointmentCustomGridPlugin.php:12
ILIAS\UI\Component
ilAppointmentCustomGridPlugin\slotInit
slotInit()
empty
Definition:
class.ilAppointmentCustomGridPlugin.php:91
ilAppointmentCustomGridPlugin\getSlotId
getSlotId()
Get slot Id.
Definition:
class.ilAppointmentCustomGridPlugin.php:83
ilAppointmentCustomGridPlugin\getComponentName
getComponentName()
Get component Name.
Definition:
class.ilAppointmentCustomGridPlugin.php:65
ilAppointmentCustomGridPlugin\addGlyph
addGlyph()
Add glyph before the appointment title.
ilAppointmentCustomGridPlugin\getComponentType
getComponentType()
Get component type.
Definition:
class.ilAppointmentCustomGridPlugin.php:56
ilAppointmentCustomGridPlugin\$appointment
$appointment
Definition:
class.ilAppointmentCustomGridPlugin.php:17
ilAppointmentCustomGridPlugin\$start_date
$start_date
Definition:
class.ilAppointmentCustomGridPlugin.php:22
ilDateTime
Date and time handling
Definition:
class.ilDateTime.php:33
ilAppointmentCustomGridPlugin\setAppointment
setAppointment(ilCalendarEntry $a_appointment, ilDateTime $a_start_date)
Definition:
class.ilAppointmentCustomGridPlugin.php:28
ilAppointmentCustomGridPlugin\addExtraContent
addExtraContent()
Add extra content in the grid after the event title.
ilAppointmentCustomGridPlugin\getStartDate
getStartDate()
Get the specific start date of the calendar entry, not the appointment starting date.
Definition:
class.ilAppointmentCustomGridPlugin.php:47
ilAppointmentCustomGridPlugin\getSlot
getSlot()
Get slot name.
Definition:
class.ilAppointmentCustomGridPlugin.php:74
php
ilPlugin
IL_COMP_SERVICE
const IL_COMP_SERVICE
Definition:
class.ilComponent.php:6
ilAppointmentCustomGridPlugin\replaceContent
replaceContent($content)
Replaces the complete content in a calendar Grid.
Services
Calendar
classes
class.ilAppointmentCustomGridPlugin.php
Generated on Thu Jan 30 2025 19:01:53 for ILIAS by
1.8.13 (using
Doxyfile
)