...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/integrity/volatile/fieldinfo.php
- Класс: Bitrix\Crm\Integrity\Volatile\FieldInfo
- Вызов: FieldInfo::getEntityFieldTitle
protected function getEntityFieldTitle(int $entityTypeId, string $fieldName) { /** @var CCrmLead|CCrmCompany|CCrmContact $entityClassName */ $entityClassName = $this->getClassByEntityType($entityTypeId); $result = $entityClassName::GetFieldCaption($fieldName); if ($result === '' || $result === $fieldName) { $crmUserType = new CCrmUserType($GLOBALS['USER_FIELD_MANAGER'], $entityClassName::$sUFEntityID); $userFieldNames = $crmUserType->GetFieldNames(); if (isset($userFieldNames[$fieldName])) { $result = $userFieldNames[$fieldName]; } } return $result; }