17 require_once SQ_INCLUDE_PATH.
'/package_manager.inc';
40 $this->_full_path = SQ_PACKAGES_PATH.
'/import_tools';
56 return Array(
'import_tools_manager');
69 $system_management_folder = $GLOBALS[
'SQ_SYSTEM']->am->getSystemAsset(
'system_management_folder');
71 $GLOBALS[
'SQ_SYSTEM']->am->includeAsset(
'import_tools_manager');
73 $import_tools_manager_link = Array(
'asset' => &$system_management_folder,
'link_type' => SQ_LINK_TYPE_1,
'is_exclusive' => 1);
74 if (!$import_tools_manager->create($import_tools_manager_link)) {
75 trigger_localised_error(
'IMP0001', E_USER_ERROR);
77 pre_echo(
'Import Tools Manager Asset Id : '.$import_tools_manager->id);
79 $GLOBALS[
'SQ_SYSTEM']->am->registerSystemAsset(
'import_tools_manager', $import_tools_manager->id);
81 return $import_tools_manager;