public static function GetEvent($eventId) { if (self::IsNewCalendar()) { $arEvent = CCalendarEvent::GetByID($eventId); if ($arEvent['LOCATION']) { $arEvent['LOCATION'] = CCalendar::ParseLocation($arEvent['LOCATION']); } return $arEvent; } }