Livefeed::getRenderLink

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. Livefeed
  4. getRenderLink
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/activity/provider/livefeed.php
  • Класс: Bitrix\Crm\Activity\Provider\Livefeed
  • Вызов: Livefeed::getRenderLink
static function getRenderLink(array $activity)
{
	$result = '';

	$linkTitle = (
		$activity['PROVIDER_TYPE_ID'] == self::PROVIDER_TYPE_ID_ENTRY
			? Loc::getMessage('CRM_ACTIVITY_PROVIDER_LIVEFEED_LINK_ENTRY')
			: Loc::getMessage('CRM_ACTIVITY_PROVIDER_LIVEFEED_LINK_COMMENT')
	);

	$url = self::getRenderUrl($activity);

	$result = (
		!empty($url)
			? ''
			: ''
	);

	return $result;
}

Добавить комментарий