27 include_once DOL_DOCUMENT_ROOT.
'/core/modules/DolibarrModules.class.php';
46 $this->family =
"technic";
47 $this->module_position =
'70';
49 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
50 $this->
description =
"Outils d'imports de donnees Dolibarr (via un assistant)";
52 $this->version =
'dolibarr';
53 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
54 $this->picto =
'technic';
57 $this->dirs = array(
"/import/temp");
60 $this->config_page_url = array(
"import.php");
63 $this->hidden =
false;
64 $this->depends = array();
65 $this->requiredby = array();
66 $this->conflictwith = array();
67 $this->phpmin = array(7, 0);
68 $this->phpmax = array();
69 $this->need_dolibarr_version = array(2, 7, -1);
70 $this->need_javascript_ajax = 1;
73 $this->
const = array();
76 $this->boxes = array();
79 $this->rights = array();
80 $this->rights_class =
'import';
84 $this->rights[$r][0] = 1251;
85 $this->rights[$r][1] =
'Run mass imports of external data (data load)';
86 $this->rights[$r][2] =
'r';
87 $this->rights[$r][3] = 0;
88 $this->rights[$r][4] =
'run';
Class to describe and enable module Import.
__construct($db)
Constructor.
print *****$script_file(".$version.") pid cd cd cd description as description
Only used if Module[ID]Desc translation string is not found.
$conf db name
Only used if Module[ID]Name translation string is not found.
$conf db
API class for accounts.