CCrmContentType::ResolveTypeID

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmContentType
  4. ResolveTypeID
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_activity.php
  • Класс: \CCrmContentType
  • Вызов: CCrmContentType::ResolveTypeID
static function ResolveTypeID($typeName)
{
	$typeName = strval($typeName);
	switch($typeName)
	{
		case self::PlainTextName:
			return self::PlainText;
		case self::BBCodeName:
			return self::BBCode;
		case self::HtmlName:
			return self::Html;
	}
	return self::Undefined;
}

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