ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
class.ilAppointmentCustomModalPlugin.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
ilAppointmentCustomModalPlugin
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
37
public
function
getAppointment
()
38
{
39
return
$this->appointment
;
40
}
41
49
public
function
getStartDate
()
50
{
51
return
$this->start_date
;
52
}
53
58
final
public
function
getComponentType
()
59
{
60
return
IL_COMP_SERVICE
;
61
}
62
67
final
public
function
getComponentName
()
68
{
69
return
"Calendar"
;
70
}
71
76
final
public
function
getSlot
()
77
{
78
return
"AppointmentCustomModal"
;
79
}
80
85
final
public
function
getSlotId
()
86
{
87
return
"capm"
;
88
}
89
93
final
public
function
slotInit
()
94
{
95
//nothing to do here.
96
}
97
102
abstract
public
function
replaceContent
();
103
108
abstract
public
function
addExtraContent
();
109
115
abstract
public
function
infoscreenAddContent
(
ilInfoScreenGUI
$a_info);
116
122
abstract
public
function
toolbarAddItems
(
ilToolbarGUI
$a_toolbar);
123
128
abstract
public
function
toolbarReplaceContent
();
129
134
abstract
public
function
editModalTitle
($current_title);
135
}
ilCalendarEntry
Model for a calendar entry.
Definition:
class.ilCalendarEntry.php:20
ilInfoScreenGUI
Class ilInfoScreenGUI.
Definition:
class.ilInfoScreenGUI.php:18
ilAppointmentCustomModalPlugin\setAppointment
setAppointment(ilCalendarEntry $a_appointment, ilDateTime $a_start_date)
Definition:
class.ilAppointmentCustomModalPlugin.php:28
ilAppointmentCustomModalPlugin\getComponentType
getComponentType()
Get component type.
Definition:
class.ilAppointmentCustomModalPlugin.php:58
ilAppointmentCustomModalPlugin\infoscreenAddContent
infoscreenAddContent(ilInfoScreenGUI $a_info)
Add elements in the infoscreen.
ilAppointmentCustomModalPlugin\getComponentName
getComponentName()
Get component Name.
Definition:
class.ilAppointmentCustomModalPlugin.php:67
ilAppointmentCustomModalPlugin\addExtraContent
addExtraContent()
Add content after the Infoscreen.
ilPlugin
Definition:
class.ilPlugin.php:16
ilAppointmentCustomModalPlugin\getSlotId
getSlotId()
Get Slot id.
Definition:
class.ilAppointmentCustomModalPlugin.php:85
ilAppointmentCustomModalPlugin
Abstract parent class for all calendar custom modals plugin classes.
Definition:
class.ilAppointmentCustomModalPlugin.php:12
ilAppointmentCustomModalPlugin\getSlot
getSlot()
Get slot.
Definition:
class.ilAppointmentCustomModalPlugin.php:76
ilAppointmentCustomModalPlugin\editModalTitle
editModalTitle($current_title)
ilAppointmentCustomModalPlugin\$appointment
$appointment
Definition:
class.ilAppointmentCustomModalPlugin.php:17
ilToolbarGUI
Toolbar.
Definition:
class.ilToolbarGUI.php:17
ilAppointmentCustomModalPlugin\slotInit
slotInit()
empty
Definition:
class.ilAppointmentCustomModalPlugin.php:93
ilDateTime
Date and time handling
Definition:
class.ilDateTime.php:32
ilAppointmentCustomModalPlugin\getStartDate
getStartDate()
Definition:
class.ilAppointmentCustomModalPlugin.php:49
ilAppointmentCustomModalPlugin\toolbarAddItems
toolbarAddItems(ilToolbarGUI $a_toolbar)
Add elements in the toolbar.
ilAppointmentCustomModalPlugin\getAppointment
getAppointment()
Definition:
class.ilAppointmentCustomModalPlugin.php:37
ilAppointmentCustomModalPlugin\$start_date
$start_date
Definition:
class.ilAppointmentCustomModalPlugin.php:22
ilAppointmentCustomModalPlugin\replaceContent
replaceContent()
Replace the content inside the modal.
ilAppointmentCustomModalPlugin\toolbarReplaceContent
toolbarReplaceContent()
Replace the toolbar for another one.
IL_COMP_SERVICE
const IL_COMP_SERVICE
Definition:
class.ilComponent.php:6
Services
Calendar
classes
class.ilAppointmentCustomModalPlugin.php
Generated on Tue Jan 28 2025 19:01:29 for ILIAS by
1.8.13 (using
Doxyfile
)