Метод getById

public

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

public function getById(DictionaryType $type, string $id, int $userId): Result

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

Описание

The value $id of the dictionary $type, read as $userId. A value the dictionary has not is `VALUE_NOT_FOUND`, and so is a value that exists only in another dictionary or only among the stages of a funnel.

Параметры

3
Имя Тип По умолчанию Флаги
$type DictionaryType —
—
$id string —
—
$userId int —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Internal/Service/Dictionary/DictionaryValueService.php
Расположение метода в файле
Строки 107–121

Исходный код

PHP