...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_owner_type.php
- Класс: \CCrmOwnerType
- Вызов: CCrmOwnerType::getAllSuspended
static function getAllSuspended(): array { $suspended = [ self::SuspendedLead, self::SuspendedDeal, self::SuspendedContact, self::SuspendedCompany, self::SuspendedQuote, self::SuspendedInvoice, self::SuspendedOrder, self::SuspendedActivity, self::SuspendedRequisite, self::SuspendedSmartInvoice, ]; $map = Container::getInstance()->getDynamicTypesMap()->load([ 'isLoadStages' => false, 'isLoadCategories' => false, ]); foreach ($map->getTypes() as $type) { $suspended[] = self::getSuspendedDynamicTypeId($type->getEntityTypeId()); } return array_unique($suspended); }