• Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/core/mappers/syncevent.php
  • Класс: BitrixCalendarCoreMappersSyncEvent
  • Вызов: SyncEvent::getSyncEventCollectionByIdCollection
public function getSyncEventCollectionByIdCollection(array $collection): SyncEntitiesSyncEventMap
{
	$filter = ['VENDOR_EVENT_ID' => $collection];
	$eventConnectionMap = $this->eventConnectionMapper->getMap($filter);

	$syncEventMap = new SyncEntitiesSyncEventMap();
	/** @var SyncConnectionEventConnection $item */
	foreach ($eventConnectionMap as $item)
	{
		$syncEventMap->add($item, $item->getVendorEventId());
	}

	return $syncEventMap;
}