• Модуль: rest
  • Путь к файлу: ~/bitrix/modules/rest/lib/usagestat.php
  • Класс: BitrixRestUsageStatTable
  • Вызов: UsageStatTable::incrementByCount
static function incrementByCount($entityType, $entityId, $subEntityType, $subEntityName, int $count)
{
	$entityKey = static::getEntityKey($entityType, $entityId, $subEntityType, $subEntityName);
	if (!isset(static::$data[$entityKey]))
	{
		static::$data[$entityKey] = 0;
	}
	static::$data[$entityKey] += $count;
}