27 include_once DOL_DOCUMENT_ROOT.
'/core/modules/DolibarrModules.class.php';
46 $this->family =
"technic";
47 $this->module_position =
'75';
49 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
52 $this->version =
'development';
53 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
54 $this->picto =
'generic';
57 $this->dirs = array(
"/label/temp");
60 $this->hidden =
false;
61 $this->depends = array();
62 $this->requiredby = array();
63 $this->conflictwith = array();
64 $this->phpmin = array(7, 0);
70 $this->
const = array();
73 $this->boxes = array();
76 $this->rights = array();
77 $this->rights_class =
'label';
79 $this->rights[1][0] = 601;
80 $this->rights[1][1] =
'Read stickers';
81 $this->rights[1][3] = 1;
82 $this->rights[1][4] =
'lire';
84 $this->rights[2][0] = 602;
85 $this->rights[2][1] =
'Create/modify stickers';
86 $this->rights[2][3] = 0;
87 $this->rights[2][4] =
'creer';
89 $this->rights[4][0] = 609;
90 $this->rights[4][1] =
'Delete stickers';
91 $this->rights[4][3] = 0;
92 $this->rights[4][4] =
'supprimer';
103 public function init($options =
'')
106 $this->
remove($options);
110 return $this->
_init($sql, $options);
_init($array_sql, $options='')
Enables a module.
Class to describe and enable module Label.
__construct($db)
Constructor.
init($options='')
Function called when module is enabled.
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.