Метод shouldPublishDocumentUpdateEvent

private

Сигнатура метода

private function shouldPublishDocumentUpdateEvent(RunDataDto $dto): bool

Возвращает: bool

Описание

The only place that decides whether an update publishes its document event. An update without actual fields has nothing to compare, and its empty diff means "unknown", not "unchanged": such a run publishes the event as it did before the comparison was introduced. An empty set of actual fields is the opposite case - the run did collect its fields and none of them changed, so the empty diff is a real "unchanged" and the event stays unpublished.

Параметры

1
Имя Тип По умолчанию Флаги
$dto RunDataDto —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/integration/bizproc/starter/crmstarter.php
Расположение метода в файле
Строки 653–661

Исходный код

PHP