• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_owner_type.php
  • Класс: \CCrmOwnerType
  • Вызов: CCrmOwnerType::isUseFactoryBasedApproach
static function isUseFactoryBasedApproach(int $entityTypeId): bool
{
	return (
		self::isUseDynamicTypeBasedApproach($entityTypeId)
		|| $entityTypeId === self::Lead
		|| $entityTypeId === self::Deal
		|| $entityTypeId === self::Contact
		|| $entityTypeId === self::Company
		|| $entityTypeId === self::Quote
	);
}