• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/Service/Timeline/Item/SignDocument.php
  • Класс: Bitrix\Crm\Service\Timeline\Item\SignDocument
  • Вызов: SignDocument::getContentBlock
protected function getContentBlock(string $identifier): ?Layout\Body\ContentBlock
{
	if ($identifier === static::BLOCK_DOCUMENT)
	{
		return $this->getDocumentBlock();
	}
	if ($identifier === static::BLOCK_MY_SIGNER)
	{
		return $this->getMySignerContentBlock();
	}
	if ($identifier === static::BLOCK_RECIPIENT)
	{
		return $this->getRecipientContentBlock();
	}
	if ($identifier === static::BLOCK_DATE)
	{
		return $this->getDateContentBlock();
	}
	if ($identifier === static::BLOCK_CHANNEL)
	{
		return $this->getChannelContentBlock();
	}
	if ($identifier === static::BLOCK_FIELDS_COUNT)
	{
		return $this->getFieldsCountContentBlock();
	}
	if ($identifier === static::BLOCK_REQUEST)
	{
		return $this->getRequestContentBlock();
	}
	if ($identifier === static::BLOCK_AUTHOR)
	{
		return $this->getAuthorContentBlock();
	}
	if ($identifier === static::BLOCK_MAIL_SUBJECT)
	{
		return $this->getMailSubjectContentBlock();
	}

	return null;
}