- Модуль: sender
- Путь к файлу: ~/bitrix/modules/sender/lib/integration/crm/connectors/client.php
- Класс: Bitrix\Sender\Integration\Crm\Connectors\Client
- Вызов: Client::getCrmDocumentTypes
static function getCrmDocumentTypes() { $types = array(\CCrmOwnerType::Deal); $list = array(); foreach ($types as $typeId) { $typeName = \CCrmOwnerType::resolveName($typeId); $typeCaption = \CCrmOwnerType::getDescription($typeId); $list[$typeName] = $typeCaption; } return $list; }