Метод getTrackedFields

protected static

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

protected static function getTrackedFields(string $document): array

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

Описание

Server-fill the monitored Fields options from the current document, in parity with the ajax path (getAjaxResponse) and categoryId. The base getPropertiesMap fills the Fields SELECT via this hook; without the override it stays empty for a preset or saved node (no document-change JS event fires), so the chosen field is dropped on save and the mandatory-Fields validation rejects the node.

Параметры

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

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/install/activities/bitrix/crmentityfieldchangedtrigger/crmentityfieldchangedtrigger.php
Расположение метода в файле
Строки 599–602

Исходный код

PHP