...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/webform/entity.php
- Класс: Bitrix\Crm\WebForm\Entity
- Вызов: Entity::getList
static function getList() { $result = array(); $map = static::getMap(); foreach($map as $entityName => $entity) { $entityId = \CCrmOwnerType::ResolveID($entityName); if ($entityId === \CCrmOwnerType::Invoice) { $entityId = \CCrmOwnerType::Order; } $result[$entityName] = \CCrmOwnerType::GetDescription($entityId); } return $result; }