method public static

StatisticEntryManager::getBusySlotCount()

Класс: \Bitrix\Crm\Statistics\StatisticEntryManager

Сигнатура

public static getBusySlotCount(string $typeName) : int

Описание

Получить количество занятых слотов

Параметры

$typeName string
Имя типа статистической сущности.

Возвращаемое значение

int

Как применяется в StatisticEntryManager

StatisticEntryManager::getBusySlotCount() — метод класса \Bitrix\Crm\Statistics\StatisticEntryManager модуля «CRM».

Статический метод — вызывается через имя класса StatisticEntryManager, без создания объекта.

use Bitrix\Main\Loader;
use Bitrix\Crm\Statistics\StatisticEntryManager;

Loader::includeModule('crm');

$typeName = '';
$result = StatisticEntryManager::getBusySlotCount($typeName);
// $result: int

Другие методы StatisticEntryManager

getBusySlotCount() есть и у других классов модуля «CRM»: DealSumStatisticEntry, InvoiceSumStatisticEntry, LeadSumStatisticEntry.

Исходный файл: source/crm/lib/statistics/statisticentrymanager.php:108

Что будем искать? Например,Продвижение