Your IP : 3.147.64.187


Current Path : /home/bitrix/ext_www/klimatlend.ua/bitrix/modules/esolutions.exportexcel/
Upload File :
Current File : /home/bitrix/ext_www/klimatlend.ua/bitrix/modules/esolutions.exportexcel/include.php

<?php
include_once(dirname(__FILE__).'/install/demo.php');

$moduleId = 'esolutions.exportexcel';
$moduleJsId = str_replace('.', '_', $moduleId);
$pathJS = '/bitrix/js/'.$moduleId;
$pathCSS = '/bitrix/panel/'.$moduleId;
$pathLang = BX_ROOT.'/modules/'.$moduleId.'/lang/'.LANGUAGE_ID;
CModule::AddAutoloadClasses(
	$moduleId,
	array(
		'CKDAEEFieldList' => 'classes/general/field_list.php',
		'CKDAExportProfile' => 'classes/general/profile.php',
		'CKDAExportProfileAll' => 'classes/general/profile.php',
		'CKDAExportProfileDB' => 'classes/general/profile_db.php',
		'CKDAExportProfileFS' => 'classes/general/profile_fs.php',
		'CKDAExportExcel' => 'classes/general/export.php',
		'CKDAExportExcelStatic' => 'classes/general/export.php',
		'CKDAExportExcelHighload' => 'classes/general/export_highload.php',
		'CKDAExportExcelWriterXlsx' => 'classes/general/export_writer_xlsx.php',
		'CKDAExportExcelWriterCsv' => 'classes/general/export_writer_csv.php',
		'CKDAExportExtraSettings' => 'classes/general/extrasettings.php',
		'CKDAExportUtils' => 'classes/general/utils.php',
		//'CKDAExportCondTree' => 'classes/general/cond_tree.php',
		'\Bitrix\KdaExportexcel\ProfileTable' => "lib/profile.php",
		'\Bitrix\KdaExportexcel\ProfileHlTable' => "lib/profile_hl.php"
	)
);

$initFile = $_SERVER["DOCUMENT_ROOT"].BX_ROOT.'/php_interface/include/'.$moduleId.'/init.php';
if(file_exists($initFile)) include_once($initFile);

$arJSKdaIBlockConfig = array(
	$moduleJsId => array(
		'js' => $pathJS.'/script.js',
		'css' => $pathCSS.'/styles.css',
		'rel' => array('jquery', $moduleJsId.'_chosen'/*, 'core_condtree'*/),
		'lang' => $pathLang.'/js_admin.php'
	),
	$moduleJsId.'_highload' => array(
		'js' => $pathJS.'/script_highload.js',
		'css' => $pathCSS.'/styles.css',
		'rel' => array('jquery', $moduleJsId.'_chosen'/*, 'core_condtree'*/),
		'lang' => $pathLang.'/js_admin_hlbl.php',
	),
	$moduleJsId.'_chosen' => array(
		'js' => $pathJS.'/chosen/chosen.jquery.min.js',
		'css' => $pathJS.'/chosen/chosen.min.css',
		'rel' => array('jquery')
	),
);

foreach ($arJSKdaIBlockConfig as $ext => $arExt) {
	CJSCore::RegisterExt($ext, $arExt);
}
?>