Call::renderView

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

	if (!Loader::includeModule('voximplant'))
	{
		return '
'.Loc::getMessage('VOXIMPLANT_ACTIVITY_PROVIDER_CALL_DESCRIPTION').':
'.$activity['DESCRIPTION_HTML'].'
'; } ob_start(); $APPLICATION->IncludeComponent( 'bitrix:crm.activity.call', '', array( 'ACTIVITY' => $activity, 'CALL_ID' => (mb_strpos($activity['ORIGIN_ID'], 'VI_') === false? null : mb_substr($activity['ORIGIN_ID'], 3)), ) ); return ob_get_clean(); }

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