...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/integrity/duplicateindexbuilder.php
- Класс: Bitrix\Crm\Integrity\DuplicateIndexBuilder
- Вызов: DuplicateIndexBuilder::getTypeScopeMap
static function getTypeScopeMap($entityTypeID) { if (!\CCrmOwnerType::isDefined($entityTypeID)) return array(); if (self::$typeScopeMap === null) { self::$typeScopeMap = array(); } if (!isset(self::$typeScopeMap[$entityTypeID])) { self::$typeScopeMap[$entityTypeID] = array(); foreach (DuplicateManager::getDedupeTypeScopeMap($entityTypeID) as $typeID => $scopes) self::$typeScopeMap[$entityTypeID][$typeID] = array_fill_keys($scopes, true); } return self::$typeScopeMap[$entityTypeID]; }