• Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/sync/googleapibatch.php
  • Класс: BitrixCalendarSyncGoogleApiBatch
  • Вызов: GoogleApiBatch::getInstanceByRecurrenceId
private function getInstanceByRecurrenceId(int $eventId): array
{
	$instancesDb = InternalsEventTable::getList([
		'filter' => Query::filter()->where('RECURRENCE_ID', $eventId),
	]);

	$instances =[];
	while ($instance = $instancesDb->fetch())
	{
		$instances[] = $instance;
	}

	return $instances;
}