Email::getTypeId

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. Email
  4. getTypeId
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/activity/provider/email.php
  • Класс: Bitrix\Crm\Activity\Provider\Email
  • Вызов: Email::getTypeId
static function getTypeId(array $activity)
{
	if (isset($activity['PROVIDER_TYPE_ID']) && $activity['PROVIDER_TYPE_ID'] === self::TYPE_EMAIL_COMPRESSED)
	{
		return self::TYPE_EMAIL_COMPRESSED;
	}

	return self::TYPE_EMAIL;
}

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