Statistics::prepareGroupingExtras

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. Statistics
  4. prepareGroupingExtras
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/widget/data/activity/statistics.php
  • Класс: Bitrix\Crm\Widget\Data\Activity\Statistics
  • Вызов: Statistics::prepareGroupingExtras
static function prepareGroupingExtras(array &$groupings)
{
	$sourceKey = \CCrmOwnerType::ActivityName.':'.self::GROUP_BY_PROVIDER_ID;
	if(isset($groupings[$sourceKey]))
	{
		return;
	}

	self::includeModuleFile();
	$groupings[$sourceKey] = array(
		'entity' => \CCrmOwnerType::ActivityName,
		'title' => GetMessage('CRM_ACTIVITY_ACTIVITY_STAT_GROUP_BY_PROVIDER'),
		'name' => self::GROUP_BY_PROVIDER_ID
	);
}

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