Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
observance.php
1
<?php
2
3
4
namespace
Bitrix\Calendar\ICal\Parser
;
5
6
7
abstract
class
Observance
extends
ParserComponent
8
{
9
public
const
TYPE
=
StandardObservance::TYPE
;
13
protected
$dtStart
;
17
protected
$tzOffsetFrom
;
21
protected
$tzOffsetTo
;
22
26
public
function
__construct
()
27
{
28
29
}
30
34
public
function
getType
(): string
35
{
36
return
static::TYPE;
37
}
38
42
public
function
getProperties
(): array
43
{
44
return
[
45
"DTSTART"
,
46
"TZOFFSETFROM"
,
47
"TZOFFSETTO"
,
48
];
49
}
50
55
public
function
setDtStart
(?
ParserPropertyType
$dtStart
):
Observance
56
{
57
$this->dtStart =
$dtStart
;
58
59
return
$this;
60
}
61
66
public
function
setTzOffsetFrom
(?
ParserPropertyType
$tzOffsetFrom
):
Observance
67
{
68
$this->tzOffsetFrom =
$tzOffsetFrom
;
69
70
return
$this;
71
}
72
77
public
function
setTzOffsetTo
(?
ParserPropertyType
$tzOffsetTo
):
Observance
78
{
79
$this->tzOffsetTo =
$tzOffsetTo
;
80
81
return
$this;
82
}
83
87
public
function
getTzOffsetTo
(): ?
ParserPropertyType
88
{
89
return
$this->tzOffsetTo
;
90
}
91
95
public
function
getTzOffsetFrom
(): ?
ParserPropertyType
96
{
97
return
$this->tzOffsetFrom
;
98
}
99
103
public
function
getDtStart
(): ?
ParserPropertyType
104
{
105
return
$this->dtStart
;
106
}
107
}
Bitrix\Calendar\ICal\Parser\Observance
Definition
observance.php:8
Bitrix\Calendar\ICal\Parser\Observance\__construct
__construct()
Definition
observance.php:26
Bitrix\Calendar\ICal\Parser\Observance\setDtStart
setDtStart(?ParserPropertyType $dtStart)
Definition
observance.php:55
Bitrix\Calendar\ICal\Parser\Observance\getDtStart
getDtStart()
Definition
observance.php:103
Bitrix\Calendar\ICal\Parser\Observance\getTzOffsetTo
getTzOffsetTo()
Definition
observance.php:87
Bitrix\Calendar\ICal\Parser\Observance\getType
getType()
Definition
observance.php:34
Bitrix\Calendar\ICal\Parser\Observance\TYPE
const TYPE
Definition
observance.php:9
Bitrix\Calendar\ICal\Parser\Observance\setTzOffsetTo
setTzOffsetTo(?ParserPropertyType $tzOffsetTo)
Definition
observance.php:77
Bitrix\Calendar\ICal\Parser\Observance\getTzOffsetFrom
getTzOffsetFrom()
Definition
observance.php:95
Bitrix\Calendar\ICal\Parser\Observance\$tzOffsetFrom
$tzOffsetFrom
Definition
observance.php:17
Bitrix\Calendar\ICal\Parser\Observance\$dtStart
$dtStart
Definition
observance.php:13
Bitrix\Calendar\ICal\Parser\Observance\getProperties
getProperties()
Definition
observance.php:42
Bitrix\Calendar\ICal\Parser\Observance\setTzOffsetFrom
setTzOffsetFrom(?ParserPropertyType $tzOffsetFrom)
Definition
observance.php:66
Bitrix\Calendar\ICal\Parser\Observance\$tzOffsetTo
$tzOffsetTo
Definition
observance.php:21
Bitrix\Calendar\ICal\Parser\ParserComponent
Definition
parsercomponent.php:10
Bitrix\Calendar\ICal\Parser\ParserPropertyType
Definition
parserpropertytype.php:8
Bitrix\Calendar\ICal\Parser\StandardObservance\TYPE
const TYPE
Definition
standardobservance.php:9
Bitrix\Calendar\ICal\Parser
Definition
calendar.php:4
modules
calendar
lib
ical
parser
observance.php
Создано системой
1.10.0