Метод getCount
Сигнатура метода
public function getCount(int $entityTypeId, int $userId): int
Возвращает:
int
Описание
How many categories of $entityTypeId $userId may see - the size of the same set `getList()` pages over, so it does not depend on any pager.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$entityTypeId
|
int
|
—
|
—
|
$userId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Service/Category/CategoryReader.php
Расположение метода в файле
Строки
51–54