Метод describedWithTheBlocks
Сигнатура метода
private static function describedWithTheBlocks(string $description, mixed $blocks): string
Возвращает:
string
Описание
The description of the event with the blocks of the activity appended to it: the links, the files and the meeting room the editor put beside the text, each under its title. THE THREE ANSWERS ARE THE ONES LEGACY GIVES. Where there are no blocks the text is handed back untouched; where there is no text the blocks ARE the description, the title of a description with nothing under it saying nothing; and where there are both, the blocks follow the text on a line of their own. Which is why this is folded in here rather than in the caller: the whole text is what the event is described with, what a repeated synchronization compares against ({@see self::descriptionAfter()}) and what the previous description of the provider is measured against.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$description
|
string
|
—
|
—
|
$blocks
|
mixed
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulescrm/lib/V2/Internal/Integration/Calendar/ActivityCalendarSync.php