ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
VTimeZone.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
Sabre\VObject\Component
;
4
5
use
Sabre\VObject
;
6
17
class
VTimeZone
extends
VObject\Component
{
18
27
function
getTimeZone
() {
28
29
return
VObject\TimeZoneUtil::getTimeZone
((
string
)$this->TZID, $this->root);
30
31
}
32
48
function
getValidationRules
() {
49
50
return
[
51
'TZID'
=> 1,
52
53
'LAST-MODIFIED'
=>
'?'
,
54
'TZURL'
=>
'?'
,
55
56
// At least 1 STANDARD or DAYLIGHT must appear.
57
//
58
// The validator is not specific yet to pick this up, so these
59
// rules are too loose.
60
'STANDARD'
=>
'*'
,
61
'DAYLIGHT'
=>
'*'
,
62
];
63
64
}
65
66
}
Sabre\VObject
Definition:
mergeduplicates.php:4
Sabre\VObject\TimeZoneUtil\getTimeZone
static static getTimeZone($tzid, Component $vcalendar=null, $failIfUncertain=false)
This method will try to find out the correct timezone for an iCalendar date-time value.
Definition:
TimeZoneUtil.php:125
Sabre\VObject\Component
Definition:
Available.php:3
Sabre\VObject\Component\VTimeZone\getValidationRules
getValidationRules()
Definition:
VTimeZone.php:48
Sabre\VObject\Component\VTimeZone
The VTimeZone component.
Definition:
VTimeZone.php:17
Sabre\VObject\Component
Component.
Definition:
Component.php:17
Sabre\VObject\Component\VTimeZone\getTimeZone
getTimeZone()
Returns the PHP DateTimeZone for this VTIMEZONE component.
Definition:
VTimeZone.php:27
php
libs
composer
vendor
sabre
vobject
lib
Component
VTimeZone.php
Generated on Thu Feb 27 2025 19:01:30 for ILIAS by
1.8.13 (using
Doxyfile
)