Метод createEvent
Сигнатура метода
public function createEvent(Activity $activity, ProviderPayload $payload, StorageFieldTransit $transit, array $calendarInput = []): ?int
Возвращает:
?int
Описание
Creates the event of an activity that has just been stored. The reminders of the event come from the ping offsets of the activity, and only here: an event that already exists takes them from the notification fields instead (item G2.3).
Параметры
4| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$activity
|
Activity
|
—
|
—
|
$payload
|
ProviderPayload
|
—
|
—
|
$transit
|
StorageFieldTransit
|
—
|
—
|
$calendarInput
|
array
|
[]
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Integration/Calendar/ActivityCalendarSync.php
Расположение метода в файле
Строки
138–146