• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/customertype.php
  • Класс: Bitrix\Crm\CustomerType
  • Вызов: CustomerType::getAllDescriptions
static function getAllDescriptions()
{
	if(!self::$ALL_DESCRIPTIONS[LANGUAGE_ID])
	{
		Loc::loadCustomMessages(__FILE__);
		self::$ALL_DESCRIPTIONS[LANGUAGE_ID] = array(
			self::GENERAL => GetMessage('CRM_CUSTOMER_GENERAL'),
			self::RETURNING => GetMessage('CRM_CUSTOMER_RETURNING')
		);
	}
	return self::$ALL_DESCRIPTIONS[LANGUAGE_ID];
}