Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
receivingparenteventhandler.php
1
<?php
2
3
namespace
Bitrix\Calendar\Core\Handlers
;
4
5
use
Bitrix\Calendar\Core\Event\Event
;
6
use
Bitrix\Calendar\Core\Mappers\Factory
;
7
use
Bitrix\Main\DI\ServiceLocator
;
8
9
class
ReceivingParentEventHandler
10
{
11
public
function
__construct
()
12
{
13
14
}
15
26
public
function
__invoke(
int
$parentId,
int
$ownerId):
Event
27
{
29
$mapperFactory = ServiceLocator::getInstance()->get(
'calendar.service.mappers.factory'
);
30
31
return
$mapperFactory->getEvent()->getMap([
32
'=PARENT_ID'
=> $parentId,
33
'=OWNER_ID'
=> $ownerId
34
])->fetch();
35
}
36
}
Bitrix\Calendar\Core\Event\Event
Definition
event.php:20
Bitrix\Calendar\Core\Handlers\ReceivingParentEventHandler
Definition
receivingparenteventhandler.php:10
Bitrix\Calendar\Core\Handlers\ReceivingParentEventHandler\__construct
__construct()
Definition
receivingparenteventhandler.php:11
Bitrix\Calendar\Core\Mappers\Factory
Definition
factory.php:6
Bitrix\Main\DI\ServiceLocator
Definition
servicelocator.php:12
Bitrix\Calendar\Core\Handlers
Definition
handlerbase.php:3
modules
calendar
lib
core
handlers
receivingparenteventhandler.php
Создано системой
1.10.0