Метод getCount
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
1333–1381
~/bitrix/modulestasks/lib/item.php
Исходный код
Сигнатура метода
public static function getCount(array $parameters = array(), $settings = null)
Описание
Count items in database by condition Takes the same query parameters as find(), but counts by the filter alone, because DataManager::getCount() accepts a filter only: select, order, limit and the rest do not affect the count. A plain filter is taken as well, for backward compatibility, so the input is read as query parameters when it holds at least one of their keys, and as a filter otherwise.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$parameters
|
array
|
array()
|
-
|
$settings
|
-
|
null
|
-
|