• Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/sync/icloud/sectionbuilder.php
  • Класс: BitrixCalendarSyncIcloudSectionBuilder
  • Вызов: SectionBuilder::getBodyProperties
private function getBodyProperties(Section $section, string $body): string
{
	if ($section->getName())
	{
		IncludeModuleLangFile(
			$_SERVER['DOCUMENT_ROOT'] . BX_ROOT . '/modules/calendar/classes/general/calendar.php'
		);
		$body .= "ttt"
			. ($section->getExternalType() === 'local' ? (Loc::getMessage('EC_CALENDAR_BITRIX24_NAME') . ' ') : '')
			. $section->getName() . "rn";
	}
	if ($section->getColor())
	{
		$body .= "ttt" . $section->getColor() . "rn";
	}
	$body .= "ttrn";
	$body .= "trn";

	return $body;
}