Метод setEventId
Сигнатура метода
public function setEventId(int $activityId, int $calendarEventId): void
Возвращает:
void
Описание
Writes the id of the event into the activity, and nothing else. A WRITE PAST THE PIPELINE, ON PURPOSE. No event of the domain is published, no timestamp of the last change is bumped and no cache is dropped: the id of the event is a fact of the synchronization rather than a change of the activity, and legacy states it the same way (crm_activity.php:7269-7283, one of the silent writes of FIELD-AUDIT). Passing zero is how the binding is dropped when a completed activity may not stay in the calendar.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$activityId
|
int
|
—
|
—
|
$calendarEventId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulescrm/lib/V2/Internal/Integration/Calendar/ActivityCalendarSync.php