52 $this->rights_class =
'ai';
56 $this->family =
"technic";
59 $this->module_position =
'50';
64 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
69 $this->descriptionlong =
"AiDescriptionLong";
72 $this->version =
'dolibarr';
75 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
81 $this->picto =
'fa-magic';
84 $this->module_parts = array(
120 'moduleforexternal' => 0,
125 $this->dirs = array(
"/ai/temp");
128 $this->config_page_url = array(
"setup.php@ai");
132 $this->hidden =
false;
134 $this->depends = array();
135 $this->requiredby = array();
136 $this->conflictwith = array();
139 $this->langfiles = array(
"ai");
142 $this->phpmin = array(7, 0);
145 $this->warnings_activation = array();
146 $this->warnings_activation_ext = array();
154 $this->
const = array();
162 if (!isset($conf->ai) || !isset($conf->ai->enabled)) {
164 $conf->ai->enabled = 0;
168 $this->tabs = array();
196 $this->dictionaries = array();
225 $this->boxes = array(
236 $this->cronjobs = array(
258 $this->rights = array();
265 $this->menu = array();