Метод normalizeLocation
Сигнатура метода
private static function normalizeLocation(string $location): string
Возвращает:
string
Описание
Drops any reservation event id from the client location suffix (calendar_<roomId>_<eventId> / ECMR_<mrId>_<eventId>). AccessibilityManager treats the third segment as an event to exclude from the conflict check, so a caller could pass the id of a conflicting booking and hide it. The current booking is excluded through the trusted $calendarEventId (Result field ID); the untrusted suffix must not carry exclusion power.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$location
|
string
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/activity/todo/calendareventoccupancyfields.php
Расположение метода в файле
Строки
49–67