• Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/sync/managers/vendordataexchangemanager.php
  • Класс: BitrixCalendarSyncManagersVendorDataExchangeManager
  • Вызов: VendorDataExchangeManager::getFilteredSectionMapForExport
private function getFilteredSectionMapForExport(
	SyncEntitiesSyncSectionMap $externalSectionMap
): SyncEntitiesSyncSectionMap
{
	return (new SyncEntitiesSyncSectionMap(
		array_diff_key(
			$this->isFullSync
				? $this->syncSectionMap->getCollection()
				: $this->syncSectionMap
					->getItemsByKeys(array_keys($externalSectionMap->getCollection()))
					->getCollection(),
			$externalSectionMap->getCollection()
		),
	))->getLocalSections();
}