• Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/sync/managers/incomingmanager.php
  • Класс: BitrixCalendarSyncManagersIncomingManager
  • Вызов: IncomingManager::exportLocalSection
private function exportLocalSection(Section $section): void
{
	$manager = new OutgoingManager($this->connection);
	$sectionResult = $manager->exportSectionSimple($section);
	if ($sectionResult->isSuccess() && $sectionResult->getData()['exported'])
	{
		/** @var SectionConnection $sectionLink */
		$sectionLink = $sectionResult->getData()['exported'];
		$manager->exportSectionEvents($sectionLink);
	}
}