PullManager::getSubscribedUserIdsWithItemPermissions

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. PullManager
  4. getSubscribedUserIdsWithItemPermissions
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/integration/pullmanager.php
  • Класс: Bitrix\Crm\Integration\PullManager
  • Вызов: PullManager::getSubscribedUserIdsWithItemPermissions
protected function getSubscribedUserIdsWithItemPermissions($item, string $eventName): array
{
	if(!$this->isEnabled())
	{
		return [];
	}
	$userIds = WatchTable::getUserIdsByTag($eventName);
	return $this->filterUserIdsWhoCanViewItem($item, $userIds, $eventName);
}

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