Метод previousDescriptionOf

private static

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

private static function previousDescriptionOf(Activity $activity, array $calendarInput, array $presentEvent): string

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

Описание

The description the event carried before, as the comparison below needs it: the one the caller named, and for a to-do item the text of the event itself where the caller named none (crm_activity.php:7630-7633). THE FALLBACK IS A RULE OF THE TO-DO PROVIDER AND OF NO OTHER. Its editor reaches this layer on paths that carry no previous description at all, and without the fallback a changed text replaces the description of the event instead of being appended to it under the subtitle. A caller that named an empty text named one all the same: only an absent value falls back.

Параметры

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

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

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

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

Исходный код

PHP