LeadStatusHistoryWithSupposed::getHistoryCount

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. LeadStatusHistoryWithSupposed
  4. getHistoryCount
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/agent/history/leadstatushistorywithsupposed.php
  • Класс: Bitrix\Crm\Agent\History\LeadStatusHistoryWithSupposed
  • Вызов: LeadStatusHistoryWithSupposed::getHistoryCount
private function getHistoryCount()
{
	$result = LeadStatusHistoryTable::query()->addSelect(Query::expr()->count('ID'), 'CNT')->exec()->fetchRaw();

	return $result['CNT'];
}

Добавить комментарий