1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
factory.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Calendar\Core\Mappers;
4
5
class
Factory
6
{
7
private
static
?
Section
$sectionInstance =
null
;
8
private
static
?
Event
$eventInstance =
null
;
9
private
static
?
SectionConnection
$sectionConnectionInstance =
null
;
10
private
static
?
EventConnection
$eventConnectionInstance =
null
;
11
private
static
?
SyncEvent
$syncEventInstance =
null
;
12
private
static
?
Connection
$connectionInstance =
null
;
13
private
static
?
EventOption
$eventOptionInstance =
null
;
14
private
static
?
EventCategory
$eventCategoryInstance =
null
;
15
16
public
function
getSection
():
Section
17
{
18
if
(!self::$sectionInstance)
19
{
20
self::$sectionInstance =
new
Section
();
21
}
22
23
return
self::$sectionInstance;
24
}
25
26
27
public
function
getEvent
():
Event
28
{
29
if
(!self::$eventInstance)
30
{
31
self::$eventInstance =
new
Event
();
32
}
33
34
return
self::$eventInstance;
35
}
36
37
public
function
getSectionConnection
():
SectionConnection
38
{
39
if
(!self::$sectionConnectionInstance)
40
{
41
self::$sectionConnectionInstance =
new
SectionConnection
();
42
}
43
44
return
self::$sectionConnectionInstance;
45
}
46
47
48
public
function
getEventConnection
():
EventConnection
49
{
50
if
(!self::$eventConnectionInstance)
51
{
52
self::$eventConnectionInstance =
new
EventConnection
();
53
}
54
55
return
self::$eventConnectionInstance;
56
}
57
58
public
function
getSyncEvent
():
SyncEvent
59
{
60
if
(!self::$syncEventInstance)
61
{
62
self::$syncEventInstance =
new
SyncEvent
();
63
}
64
65
return
self::$syncEventInstance;
66
}
67
68
public
function
getConnection
():
Connection
69
{
70
if
(!self::$connectionInstance)
71
{
72
self::$connectionInstance =
new
Connection
();
73
}
74
75
return
self::$connectionInstance;
76
}
77
78
public
function
getEventOption
():
EventOption
79
{
80
if
(!self::$eventOptionInstance)
81
{
82
self::$eventOptionInstance =
new
EventOption
();
83
}
84
85
return
self::$eventOptionInstance;
86
}
87
88
public
function
getEventCategory
():
EventCategory
89
{
90
if
(!self::$eventCategoryInstance)
91
{
92
self::$eventCategoryInstance =
new
EventCategory
();
93
}
94
95
return
self::$eventCategoryInstance;
96
}
97
}
Bitrix\Calendar\Core\Mappers\EventConnection
Определения
eventconnection.php:19
Bitrix\Calendar\Core\Mappers\Factory
Определения
factory.php:6
Bitrix\Calendar\Core\Mappers\Factory\getEvent
getEvent()
Определения
factory.php:27
Bitrix\Calendar\Core\Mappers\Factory\getEventOption
getEventOption()
Определения
factory.php:78
Bitrix\Calendar\Core\Mappers\Factory\getEventCategory
getEventCategory()
Определения
factory.php:88
Bitrix\Calendar\Core\Mappers\Factory\getSyncEvent
getSyncEvent()
Определения
factory.php:58
Bitrix\Calendar\Core\Mappers\Factory\getSectionConnection
getSectionConnection()
Определения
factory.php:37
Bitrix\Calendar\Core\Mappers\Factory\getEventConnection
getEventConnection()
Определения
factory.php:48
Bitrix\Calendar\Core\Mappers\Factory\getSection
getSection()
Определения
factory.php:16
Bitrix\Calendar\Core\Mappers\Factory\getConnection
getConnection()
Определения
factory.php:68
Bitrix\Calendar\Core\Mappers\SectionConnection
Определения
sectionconnection.php:20
Bitrix\Calendar\Core\Mappers\SyncEvent
Определения
syncevent.php:12
Bitrix\Calendar\Core\EventCategory
Определения
eventcategory.php:3
Bitrix\Calendar\Core\Event
Определения
event.php:3
Bitrix\Calendar\Core\EventOption
Определения
eventoption.php:3
Bitrix\Calendar\Core\Section
Определения
section.php:3
Bitrix\Calendar\Sync\Connection
Определения
connection.php:3
bitrix
modules
calendar
lib
core
mappers
factory.php
Создано системой
1.14.0