• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/component/entitylist/userdataprovider/base.php
  • Класс: Bitrix\Crm\Component\EntityList\UserDataProvider\Base
  • Вызов: Base::fillEntities
protected function fillEntities(array $userIds, array &$entities, array $params = []): void;

public function __construct(int $entityTypeId)
{
	if (!in_array($entityTypeId, [CCrmOwnerType::Lead, CCrmOwnerType::Deal], true))
	{
		throw new NotSupportedException(CCrmOwnerType::ResolveName($entityTypeId) . 'is not supported entity');
	}

	$this->entityTypeId = $entityTypeId;
}