...Человеческий поиск в разработке...
- Модуль: tasks
- Путь к файлу: ~/bitrix/modules/tasks/lib/internals/project/pull/pullsender.php
- Класс: BitrixTasksInternalsProjectPullPullSender
- Вызов: PullSender::send
static function send(array $pullMap, array $notVisibleGroupsUsers): void { foreach ($pullMap as $command => $groupIds) { foreach ($groupIds as $groupId) { $groupKey = ($command === EventTypeDictionary::EVENT_PROJECT_USER_UPDATE ? 'GROUP_ID' : 'ID'); $pushParams = [ 'module_id' => 'tasks', 'command' => $command, 'params' => [$groupKey => $groupId], ]; if (array_key_exists($groupId, $notVisibleGroupsUsers)) { PushService::addEvent($notVisibleGroupsUsers[$groupId], $pushParams); } else { PushService::addEventByTag(PullDictionary::PULL_PROJECTS_TAG, $pushParams); } } } }