CCrmOwnerType::IsClient

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

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