ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilCalendarAppointmentTemplate.php
Go to the documentation of this file.
1
<?
php
2
/*
3
+-----------------------------------------------------------------------------+
4
| ILIAS open source |
5
+-----------------------------------------------------------------------------+
6
| Copyright (c) 1998-2006 ILIAS open source, University of Cologne |
7
| |
8
| This program is free software; you can redistribute it and/or |
9
| modify it under the terms of the GNU General Public License |
10
| as published by the Free Software Foundation; either version 2 |
11
| of the License, or (at your option) any later version. |
12
| |
13
| This program is distributed in the hope that it will be useful, |
14
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
15
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16
| GNU General Public License for more details. |
17
| |
18
| You should have received a copy of the GNU General Public License |
19
| along with this program; if not, write to the Free Software |
20
| Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
21
+-----------------------------------------------------------------------------+
22
*/
23
24
define(
'IL_CALENDAR_ACTION_CREATE'
, 1);
25
define(
'IL_CALENDAR_ACTION_UPDATE'
, 2);
26
define(
'IL_CALENDAR_ACTION_DELETE'
, 3);
27
28
include_once(
'./Services/Calendar/classes/class.ilDate.php'
);
29
include_once(
'./Services/Calendar/classes/class.ilCalendarEntry.php'
);
30
40
class
ilCalendarAppointmentTemplate
41
{
42
protected
$context_id
;
43
protected
$context_info
;
44
protected
$title
;
45
protected
$subtitle
;
46
protected
$description
;
47
protected
$information
;
48
protected
$location
;
49
protected
$start
;
50
protected
$end
;
51
protected
$fullday
=
false
;
52
protected
$translation_type
=
IL_CAL_TRANSLATION_SYSTEM
;
53
54
protected
$type
;
55
62
public
function
__construct
($a_id)
63
{
64
$this->context_id = $a_id;
65
}
66
71
public
function
setContextInfo
($a_info)
72
{
73
$this->context_info = $a_info;
74
}
75
80
public
function
getContextInfo
()
81
{
82
return
$this->context_info
;
83
}
84
91
public
function
setTitle
($a_title)
92
{
93
$this->title = $a_title;
94
}
95
102
public
function
getTitle
()
103
{
104
return
$this->title
;
105
}
106
116
public
function
setSubtitle
($a_subtitle)
117
{
118
$this->subtitle = $a_subtitle;
119
}
120
127
public
function
getSubtitle
()
128
{
129
return
$this->subtitle
;
130
}
131
138
public
function
setDescription
($a_description)
139
{
140
$this->description = $a_description;
141
}
142
149
public
function
getDescription
()
150
{
151
return
$this->description
;
152
}
153
160
public
function
setInformation
($a_information)
161
{
162
$this->information = $a_information;
163
}
164
171
public
function
getInformation
()
172
{
173
return
$this->information
;
174
}
175
183
public
function
setLocation
($a_location)
184
{
185
$this->location = $a_location;
186
}
187
194
public
function
getLocation
()
195
{
196
return
$this->location
;
197
}
198
206
public
function
setStart
(
ilDateTime
$start
)
207
{
208
$this->start =
$start
;
209
}
210
217
public
function
getStart
()
218
{
219
return
$this->start
;
220
}
221
228
public
function
setEnd
(
ilDateTime
$end
)
229
{
230
$this->end =
$end
;
231
}
232
239
public
function
getEnd
()
240
{
241
return
$this->end ? $this->end : $this->
getStart
();
242
}
243
251
public
function
setFullday
($a_fullday)
252
{
253
$this->fullday = $a_fullday;
254
}
255
262
public
function
isFullday
()
263
{
264
return
$this->fullday
;
265
}
266
274
public
function
setTranslationType
(
$a_type
)
275
{
276
$this->translation_type =
$a_type
;
277
}
278
286
public
function
getTranslationType
()
287
{
288
return
$this->translation_type
;
289
}
290
297
public
function
getContextId
()
298
{
299
return
$this->context_id
;
300
}
301
}
ilCalendarAppointmentTemplate\$information
$information
Definition:
class.ilCalendarAppointmentTemplate.php:47
ilCalendarAppointmentTemplate\getTranslationType
getTranslationType()
get translation type
Definition:
class.ilCalendarAppointmentTemplate.php:286
ilCalendarAppointmentTemplate\setTitle
setTitle($a_title)
set title
Definition:
class.ilCalendarAppointmentTemplate.php:91
ilCalendarAppointmentTemplate\getDescription
getDescription()
get description
Definition:
class.ilCalendarAppointmentTemplate.php:149
ilCalendarAppointmentTemplate\getSubtitle
getSubtitle()
get subtitle
Definition:
class.ilCalendarAppointmentTemplate.php:127
ilCalendarAppointmentTemplate\isFullday
isFullday()
is fullday
Definition:
class.ilCalendarAppointmentTemplate.php:262
ilCalendarAppointmentTemplate\getTitle
getTitle()
get title
Definition:
class.ilCalendarAppointmentTemplate.php:102
IL_CAL_TRANSLATION_SYSTEM
const IL_CAL_TRANSLATION_SYSTEM
Definition:
class.ilCalendarEntry.php:8
ilCalendarAppointmentTemplate\getContextInfo
getContextInfo()
Get context info.
Definition:
class.ilCalendarAppointmentTemplate.php:80
ilCalendarAppointmentTemplate\$end
$end
Definition:
class.ilCalendarAppointmentTemplate.php:50
ilCalendarAppointmentTemplate\$type
$type
Definition:
class.ilCalendarAppointmentTemplate.php:54
ilCalendarAppointmentTemplate
Apointment templates are used for automatic generated apointments.
Definition:
class.ilCalendarAppointmentTemplate.php:40
ilCalendarAppointmentTemplate\setStart
setStart(ilDateTime $start)
set start
Definition:
class.ilCalendarAppointmentTemplate.php:206
ilCalendarAppointmentTemplate\setContextInfo
setContextInfo($a_info)
Set context info.
Definition:
class.ilCalendarAppointmentTemplate.php:71
ilCalendarAppointmentTemplate\$translation_type
$translation_type
Definition:
class.ilCalendarAppointmentTemplate.php:52
ilCalendarAppointmentTemplate\getEnd
getEnd()
get end
Definition:
class.ilCalendarAppointmentTemplate.php:239
ilCalendarAppointmentTemplate\$start
$start
Definition:
class.ilCalendarAppointmentTemplate.php:49
$a_type
$a_type
Definition:
workflow.php:92
ilCalendarAppointmentTemplate\$context_id
$context_id
Definition:
class.ilCalendarAppointmentTemplate.php:42
ilCalendarAppointmentTemplate\getInformation
getInformation()
get information
Definition:
class.ilCalendarAppointmentTemplate.php:171
ilCalendarAppointmentTemplate\$fullday
$fullday
Definition:
class.ilCalendarAppointmentTemplate.php:51
ilCalendarAppointmentTemplate\$context_info
$context_info
Definition:
class.ilCalendarAppointmentTemplate.php:43
ilDateTime
Date and time handling
Definition:
class.ilDateTime.php:33
ilCalendarAppointmentTemplate\__construct
__construct($a_id)
Constructor.
Definition:
class.ilCalendarAppointmentTemplate.php:62
ilCalendarAppointmentTemplate\setInformation
setInformation($a_information)
set information
Definition:
class.ilCalendarAppointmentTemplate.php:160
ilCalendarAppointmentTemplate\setTranslationType
setTranslationType($a_type)
set translation type
Definition:
class.ilCalendarAppointmentTemplate.php:274
ilCalendarAppointmentTemplate\setLocation
setLocation($a_location)
set location
Definition:
class.ilCalendarAppointmentTemplate.php:183
ilCalendarAppointmentTemplate\setEnd
setEnd(ilDateTime $end)
set end
Definition:
class.ilCalendarAppointmentTemplate.php:228
ilCalendarAppointmentTemplate\setFullday
setFullday($a_fullday)
set fullday
Definition:
class.ilCalendarAppointmentTemplate.php:251
ilCalendarAppointmentTemplate\setDescription
setDescription($a_description)
get description
Definition:
class.ilCalendarAppointmentTemplate.php:138
ilCalendarAppointmentTemplate\$subtitle
$subtitle
Definition:
class.ilCalendarAppointmentTemplate.php:45
php
ilCalendarAppointmentTemplate\$location
$location
Definition:
class.ilCalendarAppointmentTemplate.php:48
ilCalendarAppointmentTemplate\getStart
getStart()
get start
Definition:
class.ilCalendarAppointmentTemplate.php:217
ilCalendarAppointmentTemplate\getContextId
getContextId()
get context id
Definition:
class.ilCalendarAppointmentTemplate.php:297
ilCalendarAppointmentTemplate\getLocation
getLocation()
get location
Definition:
class.ilCalendarAppointmentTemplate.php:194
ilCalendarAppointmentTemplate\setSubtitle
setSubtitle($a_subtitle)
set subtitle Used for automatic generated appointments.
Definition:
class.ilCalendarAppointmentTemplate.php:116
ilCalendarAppointmentTemplate\$description
$description
Definition:
class.ilCalendarAppointmentTemplate.php:46
ilCalendarAppointmentTemplate\$title
$title
Definition:
class.ilCalendarAppointmentTemplate.php:44
Services
Calendar
classes
class.ilCalendarAppointmentTemplate.php
Generated on Thu Jan 16 2025 19:02:17 for ILIAS by
1.8.13 (using
Doxyfile
)