Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
receivingparenteventhandler.php
1<?php
2
4
8
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}