Метод getById
Сигнатура метода
public function getById(int $id): ?Category
Возвращает:
?Category
Описание
The category $id of the entity type, or `null` when the user may not read it and when there is no such category - the two are indistinguishable from the outside.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$id
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Public/Provider/Category/CategoryProvider.php
Расположение метода в файле
Строки
72–82