Метод canSyncFor

public

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

public function canSyncFor(Activity $activity): bool

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

Описание

Whether a synchronization would reach the calendar at all: an activity with a responsible, on a portal where the module is installed. It is the guard of {@see self::createEvent()} and {@see self::syncEvent()} asked on its own, and a step asks it because legacy reads the calendar-only inputs of its caller past the very same guards - returning before the first of them leaves those keys where they were (crm_activity.php:7322-7330).

Параметры

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

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Internal/Integration/Calendar/ActivityCalendarSync.php
Расположение метода в файле
Строки 172–175

Исходный код

PHP