Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
complex.php
1
<?php
2
3
namespace
Bitrix\Calendar\Core\Mappers
;
4
5
use Bitrix\Calendar\Core;
6
use Bitrix\Calendar\Internals\EO_Event;
7
use Bitrix\Calendar\Internals\EO_Section;
8
use
Bitrix\Calendar\Sync
;
9
use Bitrix\Dav\Internals\EO_DavConnection;
10
14
abstract
class
Complex
extends
Mapper
15
{
22
protected
function
prepareConnection
(EO_DavConnection $connectionEO): Sync\
Connection
\
Connection
23
{
24
$connectionMapper =
new
Connection
();
25
return
$connectionMapper->getByEntityObject($connectionEO);
26
}
27
33
protected
function
prepareSection
(EO_Section $sectionEO): Core\
Section
\
Section
34
{
35
$sectionMapper =
new
Section
();
36
return
$sectionMapper->getByEntityObject($sectionEO);
37
}
38
44
protected
function
prepareEvent
(EO_Event $eventEO): Core\
Event
\
Event
45
{
46
$eventMapper =
new
Event
();
47
return
$eventMapper->getByEntityObject($eventEO);
48
}
49
}
Bitrix\Calendar\Core\Mappers\Complex
Definition
complex.php:15
Bitrix\Calendar\Core\Mappers\Complex\prepareSection
prepareSection(EO_Section $sectionEO)
Definition
complex.php:33
Bitrix\Calendar\Core\Mappers\Complex\prepareConnection
prepareConnection(EO_DavConnection $connectionEO)
Definition
complex.php:22
Bitrix\Calendar\Core\Mappers\Complex\prepareEvent
prepareEvent(EO_Event $eventEO)
Definition
complex.php:44
Bitrix\Calendar\Core\Mappers\Connection
Definition
connection.php:23
Bitrix\Calendar\Core\Mappers\Event
Definition
event.php:20
Bitrix\Calendar\Core\Mappers\Mapper
Definition
mapper.php:12
Bitrix\Calendar\Core\Mappers\Section
Definition
section.php:21
Bitrix\Calendar\Core\Mappers
Definition
basemapperinterface.php:3
Bitrix\Calendar\Sync
modules
calendar
lib
core
mappers
complex.php
Создано системой
1.10.0