Метод getItemCategoryId

public

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

public function getItemCategoryId(int $id): ?int

Возвращает: ?int

Описание

Return category identifier of the item with $id. If categories are not supported - returns 0. If no item - returns null.

Параметры

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

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/Service/Factory.php
Расположение метода в файле
Строки 2264–2293

Исходный код

PHP