...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_fields.php
- Класс: \CCrmFields
- Вызов: CCrmFields::GetEntityTypes
static function GetEntityTypes() { $arEntityType = Array( 'CRM_LEAD' => array( 'ID' =>'CRM_LEAD', 'NAME' => GetMessage('CRM_FIELDS_LEAD'), 'DESC' => GetMessage('CRM_FIELDS_LEAD_DESC') ), 'CRM_CONTACT' => array( 'ID' =>'CRM_CONTACT', 'NAME' => GetMessage('CRM_FIELDS_CONTACT'), 'DESC' => GetMessage('CRM_FIELDS_CONTACT_DESC') ), 'CRM_COMPANY' => array( 'ID' =>'CRM_COMPANY', 'NAME' => GetMessage('CRM_FIELDS_COMPANY'), 'DESC' => GetMessage('CRM_FIELDS_COMPANY_DESC') ), 'CRM_DEAL'=> array( 'ID' =>'CRM_DEAL', 'NAME' => GetMessage('CRM_FIELDS_DEAL'), 'DESC' => GetMessage('CRM_FIELDS_DEAL_DESC') ), 'CRM_QUOTE'=> array( 'ID' =>'CRM_QUOTE', 'NAME' => GetMessage('CRM_FIELDS_QUOTE_MSGVER_1'), 'DESC' => GetMessage('CRM_FIELDS_QUOTE_DESC_MSGVER_1') ), 'CRM_INVOICE'=> array( 'ID' =>'CRM_INVOICE', 'NAME' => \CCrmOwnerType::GetDescription(\CCrmOwnerType::Invoice), 'DESC' => GetMessage('CRM_FIELDS_INVOICE_DESC') ), 'ORDER' => array( 'ID' => \Bitrix\Crm\Order\Manager::getUfId(), 'NAME' => GetMessage('CRM_FIELDS_ORDER'), 'DESC' => GetMessage('CRM_FIELDS_ORDER_DESC') ) ); if (\Bitrix\Crm\Settings\InvoiceSettings::getCurrent()->isSmartInvoiceEnabled()) { $localization = \Bitrix\Crm\Service\Container::getInstance()->getLocalization(); $arEntityType['CRM_INVOICE']['DESC'] = $localization->appendOldVersionSuffix($arEntityType['CRM_INVOICE']['DESC']); } //DEFERRED: CustomType //return array_merge($arEntityType, \Bitrix\Crm\Activity\CustomType::getUserFieldTypes()); return $arEntityType; }