• Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/sync/util/eventdescription.php
  • Класс: BitrixCalendarSyncUtilEventDescription
  • Вызов: EventDescription::addSpecialInfo
private function addSpecialInfo(string $description, Event $event, string $languageId): string
{
	$padding = "rnrn";
	if (!$event->getDescription())
	{
		$padding = '';
	}

	// temporary this functionality is turned off

	// if ($this->isGuest($event) || $this->isReservation($event))
	// {
	// 	$description .= $padding . Loc::getMessage('CALENDAR_EXPORT_EVENT_LOCK', null, $languageId);
	// }
	// elseif ($this->isEventWithAttendees($event))
	// {
	// 	$description .= $padding . Loc::getMessage('CALENDAR_EXPORT_EVENT_MEETING', null, $languageId);
	// }

	return $description;
}