49// Use here a free id (See in Home -> System information -> Dolibarr for list of used modules id).
50 $this->numero = 4100;
51// Key text used to identify module (for permissions, menus, etc...)
52 $this->rights_class = 'datapolicy';
53
54// Family can be 'base' (core modules),'crm','financial','hr','projects','products','ecm','technic' (transverse modules),'interface' (link with external tools),'other','...'
55// It is used to group modules by family in module setup page
56 $this->family = "technic";
57// Module position in the family on 2 digits ('01', '10', '20', ...)
58 $this->module_position = '78';
59// Gives the possibility to the module, to provide his own family info and position of this family (Overwrite $this->family and $this->module_position. Avoid this)
128// $this->tabs[] = array('data'=>'objecttype:+tabname1:Title1:mylangfile@datapolicy:$user->rights->datapolicy->read:/datapolicy/mynewtab1.php?id=__ID__'); // To add a new tab identified by code tabname1
129// $this->tabs[] = array('data'=>'objecttype:+tabname2:SUBSTITUTION_Title2:mylangfile@datapolicy:$user->rights->othermodule->read:/datapolicy/mynewtab2.php?id=__ID__', // To add another new tab identified by code tabname2. Label will be result of calling all substitution functions on 'Title2' key.
130// $this->tabs[] = array('data'=>'objecttype:-tabname:NU:conditiontoremove'); // To remove an existing tab identified by code tabname
131//
132// Where objecttype can be
133// 'categories_x' to add a tab in category view (replace 'x' by type of category (0=product, 1=supplier, 2=customer, 3=member)
134// 'contact' to add a tab in contact view
135// 'contract' to add a tab in contract view
136// 'group' to add a tab in group view
137// 'intervention' to add a tab in intervention view
138// 'invoice' to add a tab in customer invoice view
139// 'invoice_supplier' to add a tab in supplier invoice view
140// 'member' to add a tab in foundation member view
141// 'opensurveypoll' to add a tab in opensurvey poll view
142// 'order' to add a tab in sales order view
143// 'order_supplier' to add a tab in supplier order view
144// 'payment' to add a tab in payment view
145// 'payment_supplier' to add a tab in supplier payment view
146// 'product' to add a tab in product view
147// 'propal' to add a tab in propal view
148// 'project' to add a tab in project view
149// 'stock' to add a tab in stock view
150// 'thirdparty' to add a tab in third party view
151// 'user' to add a tab in user view
152
153
154// Dictionaries
155 $this->dictionaries = array();
156
157
158// Boxes/Widgets
159// Add here list of php file(s) stored in datapolicy/core/boxes that contains class to show a widget.
160 $this->boxes = array();
161
162
163// Cronjobs (List of cron jobs entries to add when module is enabled)
164// unit_frequency must be 60 for minute, 3600 for hour, 86400 for day, 604800 for week
print $script_file $mode $langs defaultlang(is_numeric($duration_value) ? " delay=". $duration_value :"").(is_numeric($duration_value2) ? " after cd cd cd description as description
Only used if Module[ID]Desc translation string is not found.