Метод syncEvent
Сигнатура метода
public function syncEvent(Activity $activity, ProviderPayload $payload, StorageFieldTransit $transit, array $calendarInput = []): ?int
Возвращает:
?int
Описание
Brings the event of a stored activity in step with it, and creates the event when the activity has none - the update of an activity is not necessarily the update of an event.
Параметры
4| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$activity
|
Activity
|
—
|
—
|
$payload
|
ProviderPayload
|
—
|
—
|
$transit
|
StorageFieldTransit
|
—
|
—
|
$calendarInput
|
array
|
[]
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Integration/Calendar/ActivityCalendarSync.php
Расположение метода в файле
Строки
156–164