Метод buildEventFields
Сигнатура метода
private function buildEventFields(Activity $activity, ProviderPayload $payload, StorageFieldTransit $transit, array $calendarInput, int $responsibleId, bool $isCreation, ?array $presentEvent): array
Возвращает:
array
Описание
The whole mapping of an activity onto an event of the calendar (items G2.1-G2.5). The order of the assignments is part of it: the address of the settings beats the location of the activity, the notification fields beat the reminders built from the ping offsets, and a completed activity ends up with no reminder at all.
Параметры
7| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$activity
|
Activity
|
—
|
—
|
$payload
|
ProviderPayload
|
—
|
—
|
$transit
|
StorageFieldTransit
|
—
|
—
|
$calendarInput
|
array
|
—
|
—
|
$responsibleId
|
int
|
—
|
—
|
$isCreation
|
bool
|
—
|
—
|
$presentEvent
|
?array
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Integration/Calendar/ActivityCalendarSync.php
Расположение метода в файле
Строки
353–472