• Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/update/eventwithlocationupdate.php
  • Класс: BitrixCalendarUpdateEventWithLocationUpdate
  • Вызов: EventWithLocationUpdate::getLocationParentEvent
private function getLocationParentEvent(int $eventId)
{
	global $DB;
	return $DB->Query("
		SELECT ID, CREATED_BY, LOCATION
		FROM b_calendar_event
		WHERE LOCATION LIKE 'calendar_%_".$eventId."'
		AND DELETED = 'N'
		LIMIT 1"
	);
}