• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/exchange/manager.php
  • Класс: BitrixSaleExchangeManager
  • Вызов: Manager::getSettingsByType
static function getSettingsByType($typeId)
{
	if(!is_int($typeId))
	{
		$typeId = (int)$typeId;
	}

	if(!EntityType::IsDefined($typeId))
	{
		throw new ArgumentOutOfRangeException('Is not defined', EntityType::FIRST, EntityType::LAST);
	}

	$config = static::getImportByType($typeId);

	return $config->settings;
}