- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/timeline/pusher.php
- Класс: Bitrix\Crm\Timeline\Pusher
- Вызов: Pusher::sendPullCommand
protected function sendPullCommand(
int $targetEntityTypeId,
int $targetEntityId,
string $command,
array $commandParams = []
): void
{
if (!$this->includePullModule())
{
return;
}
$pushParams = $this->preparePushParamsByCommand($targetEntityTypeId, $targetEntityId, $command);
$this->pullWatch::AddToStack(
$pushParams['TAG'],
[
'module_id' => 'crm',
'command' => $command,
'params' => array_merge($pushParams, $commandParams),
]
);
}