• Модуль: iblock
  • Путь к файлу: ~/bitrix/modules/iblock/classes/general/iblockxmlimport.php
  • Класс: CIBlockXmlImport
  • Вызов: CIBlockXmlImport::getXmlImporterConfig
private function getXmlImporterConfig(): array
{
	$config = $this->getConfig();
	$result =
		[
			'files_dir' => $this->fileParameters['FILES_DIRECTORY'],
			'use_crc' => $config['USE_CRC'],
			'preview' => $config['PREVIEW_PICTURE_SETTINGS'],
			'detail' => $config['DETAIL_PICTURE_SETTINGS'],
			'use_offers' => $config['USE_OFFERS'],
			'force_offers' => $config['FORCE_OFFERS'],
			'use_iblock_type_id' => $config['USE_IBLOCK_TYPE_ID'],
			'skip_root_section' => $config['SKIP_ROOT_SECTION'],
			'disable_change_price_name' => $config['DISABLE_CHANGE_PRICE_NAME'],
			'table_name' => $config['TABLE_NAME'],
			'iblock_cache_mode' => $config['IBLOCK_CACHE_MODE'],
		]
		+ $this->getXmlImporterTransliterationSettings()
	;
	unset($config);

	return $result;
}