EventHandler::getGroupIdsByEventTypes

  1. Bitrix24 API (v. 23.675.0)
  2. tasks
  3. EventHandler
  4. getGroupIdsByEventTypes
  • Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/internals/project/event/eventhandler.php
  • Класс: BitrixTasksInternalsProjectEventEventHandler
  • Вызов: EventHandler::getGroupIdsByEventTypes
private function getGroupIdsByEventTypes(array $eventTypes): array
{
	$groupIds = [];

	/** @var Event $event */
	foreach ($this->registry as $event)
	{
		if (in_array($event->getType(), $eventTypes, true))
		{
			$groupId = $event->getGroupId();
			$groupIds[$groupId] = $groupId;
		}
	}

	return $groupIds;
}

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