Метод valueRefusalOf
Сигнатура метода
private static function valueRefusalOf(Result $result, string $id): RestException
Возвращает:
RestException
Описание
What REST answers to a refused operation addressing the value $id. A value the dictionary has not is answered as missing, and so is one living in another dictionary or among the stages of a pipeline. A caller who may not perform the action is answered by access instead: the domain refuses by the permission before it looks the value up, so such a caller is told nothing about the value either way.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$result
|
Result
|
—
|
—
|
$id
|
string
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Infrastructure/Rest/CustomController/Dictionary/DictionaryValue.php
Расположение метода в файле
Строки
416–424