• Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/update/eventwithlocationupdate.php
  • Класс: BitrixCalendarUpdateEventWithLocationUpdate
  • Вызов: EventWithLocationUpdate::updateLocationEvent
private function updateLocationEvent(int $parentId, string $ownerName, int $eventId): void
{
	global $DB;
	$DB->Query("
		UPDATE b_calendar_event
		SET PARENT_ID = " . $parentId . ", NAME = '" . $ownerName . "'
		WHERE ID = " . $eventId . ";"
	);
}