Метод readSelectedValue
Сигнатура метода
private static function readSelectedValue(array $values, string $propertyName, string $fieldName): mixed
Возвращает:
mixed
Описание
The map is asked for the same node twice, and the two callers key their values differently: the form is built from the properties of the activity, while the save of the node hands the raw values of the form, named by control. Both name the same choice, so the map answers to either name - otherwise the save builds a map without the fields of the selected type and drops everything the user filled in.
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$values
|
array
|
—
|
—
|
$propertyName
|
string
|
—
|
—
|
$fieldName
|
string
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/install/activities/bitrix/crmcreatedynamicactivity/crmcreatedynamicactivity.php
Расположение метода в файле
Строки
734–737