Метод reindexDialogMap

private

Сигнатура метода

private function reindexDialogMap(mixed $rawMap): ?array

Возвращает: ?array

Описание

Filters a dialog map returned by `getPropertiesDialogMap()` to a clean properties map. `getPropertiesDialogMap()` already returns an ASSOCIATIVE array whose **keys are property names** (PascalCase, e.g. `Users`, `Name`, `AccessType`). This is the canonical `Setting.name` used everywhere else - it matches the keys of `getPropertiesMap()` and the keys in `.ai.php`. `FieldName` inside each descriptor is the HTML form-control name (snake_case, e.g. `requested_users`) - it is NOT the property name and must NOT be used as the map key. Numeric or empty-string keys indicate synthetic UI-only entries (e.g. section headers) and are dropped. Non-array values are likewise dropped.

Параметры

1
Имя Тип По умолчанию Флаги
$rawMap mixed —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/integration/aiassistant/activityaiautodescriber.php
Расположение метода в файле
Строки 170–190

Исходный код

PHP