method public static

Livefeed::needSynchronizePingQueue()

Класс: \Bitrix\Crm\Activity\Provider\Livefeed

Сигнатура

public static needSynchronizePingQueue(array<string|int, mixed> $activity) : bool

Параметры

$activity array<string|int, mixed>

Возвращаемое значение

bool

Как применяется в Livefeed

Livefeed::needSynchronizePingQueue() — метод класса \Bitrix\Crm\Activity\Provider\Livefeed модуля «CRM».

Статический метод — вызывается через имя класса Livefeed, без создания объекта.

use Bitrix\Main\Loader;
use Bitrix\Crm\Activity\Provider\Livefeed;

Loader::includeModule('crm');

$activity = [];
$result = Livefeed::needSynchronizePingQueue($activity);
// $result: bool

Другие методы Livefeed

needSynchronizePingQueue() есть и у других классов модуля «CRM»: Base, Call, CallList, ExternalChannel, OpenLine, Visit, Wait, WebForm.

Исходный файл: source/crm/lib/activity/provider/livefeed.php:828

Что будем искать? Например,Продвижение