CCrmOwnerType::GetFieldsInfo

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmOwnerType
  4. GetFieldsInfo
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_owner_type.php
  • Класс: \CCrmOwnerType
  • Вызов: CCrmOwnerType::GetFieldsInfo
static function GetFieldsInfo($typeID)
{
	$typeID = intval($typeID);

	switch($typeID)
	{
		case self::Lead:
		{
			return CCrmLead::GetFieldsInfo();
		}
		case self::Contact:
		{
			return CCrmContact::GetFieldsInfo();
		}
		case self::Company:
		{
			return CCrmCompany::GetFieldsInfo();
		}
		case self::Deal:
		{
			return CCrmDeal::GetFieldsInfo();
		}
		case self::Quote:
		{
			return CCrmQuote::GetFieldsInfo();
		}
	}

	return null;
}

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