...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_component_helper.php
- Класс: \CCrmComponentHelper
- Вызов: CCrmComponentHelper::getRequisiteAutocompleteFieldInfoData
static function getRequisiteAutocompleteFieldInfoData(int $countryId): array { $clientResolverPropertyType = ClientResolver::getClientResolverPropertyWithPlacements($countryId); $placementParams = ClientResolver::getClientResolverPlacementParams($countryId); $featureRestriction = ClientResolver::getRestriction($countryId); return [ 'enabled' => !!$clientResolverPropertyType, 'featureRestrictionCallback' => $featureRestriction ? $featureRestriction->prepareInfoHelperScript() : '' , 'placeholder' => ClientResolver::getClientResolverPlaceholderText($countryId), 'feedback_form' => EntityRequisite::getRequisiteFeedbackFormParams(), 'clientResolverPlacementParams' => $placementParams ]; }