• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/Service/Timeline/Item/Activity/CalendarSharing.php
  • Класс: Bitrix\Crm\Service\Timeline\Item\Activity\CalendarSharing
  • Вызов: CalendarSharing::getContentBlocks
public function getContentBlocks(): ?array
{
	$result = [];

	$eventStartBlock = $this->buildEventStartBlock();
	if ($eventStartBlock)
	{
		$result['eventStart'] = $eventStartBlock;
	}

	$contactBlock = $this->buildContactBlock();
	if ($contactBlock)
	{
		$result['contact'] = $contactBlock;
	}

	$openCalendarEventBlock = $this->buildOpenCalendarEventBlock();
	if ($openCalendarEventBlock)
	{
		$result['openCalendarEvent'] = $openCalendarEventBlock;
	}

	$clientCommentBlock = $this->buildClientCommentBlock();
	$descriptionBlock = $this->buildDescriptionBlock();

	if ($descriptionBlock)
	{
		$result['clientComment'] = $clientCommentBlock;
		$result['description'] = $descriptionBlock;
	}

	return $result;
}