Lighter::getResponsibleIds

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. Lighter
  4. getResponsibleIds
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/counter/lighter/lighter.php
  • Класс: Bitrix\Crm\Counter\Lighter\Lighter
  • Вызов: Lighter::getResponsibleIds
private function getResponsibleIds(mixed $entityInfo, array $actResponsibleMap): array
{
	if ($this->isUseActivityResponsible)
	{
		$responsibleIds = [];
		foreach ($entityInfo['ACTIVITY_IDS'] as $activityId)
		{
			if (isset($actResponsibleMap[$activityId]))
			{
				$responsibleIds[] = $actResponsibleMap[$activityId];
			}
		}
	}
	else
	{
		$responsibleIds = [$entityInfo['ASSIGNED_ID']];
	}
	return $responsibleIds;
}

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