CrmDeal::getEventTitle

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CrmDeal
  4. getEventTitle
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/integration/socialnetwork/livefeed/crmdeal.php
  • Класс: Bitrix\Crm\Integration\Socialnetwork\Livefeed\CrmDeal
  • Вызов: CrmDeal::getEventTitle
static function getEventTitle(array $params = []): string
{
	$result = '';
	$eventId = ($params['EVENT_ID'] ?? null);
	if (!$eventId)
	{
		return $result;
	}

	switch ($eventId)
	{
		case 'crm_deal_progress':
			$result = Loc::getMessage('CRMINTEGRATION_SONETLF_DEAL_PROGRESS_TITLE');
			break;
	}

	return $result;
}

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