26 include_once DOL_DOCUMENT_ROOT.
'/core/modules/DolibarrModules.class.php';
45 $this->rights_class =
'debugbar';
47 $this->family =
"base";
48 $this->module_position =
'75';
51 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
52 $this->
description =
"A tool for developer adding a debug bar in your browser.";
54 $this->version =
'dolibarr';
55 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
58 $this->module_parts = array(
'moduleforexternal' => 0);
61 $this->dirs = array();
64 $this->depends = array();
65 $this->requiredby = array();
68 $this->config_page_url = array(
"debugbar.php");
73 $this->
const = array();
76 $this->boxes = array();
79 $this->rights = array();
81 $this->rights[1][0] = 431;
82 $this->rights[1][1] =
'Use Debug Bar';
83 $this->rights[1][2] =
'u';
84 $this->rights[1][3] = 0;
85 $this->rights[1][4] =
'read';
97 public function init($options =
'')
100 $this->
remove($options);
_init($array_sql, $options='')
Enables a module.
Class to describe and enable module.
init($options='')
Function called when module is enabled.
__construct($db)
Constructor.
if(isModEnabled('invoice') && $user->hasRight('facture', 'lire')) if((isModEnabled('fournisseur') &&!getDolGlobalString('MAIN_USE_NEW_SUPPLIERMOD') && $user->hasRight("fournisseur", "facture", "lire"))||(isModEnabled('supplier_invoice') && $user->hasRight("supplier_invoice", "lire"))) if(isModEnabled('don') && $user->hasRight('don', 'lire')) if(isModEnabled('tax') && $user->hasRight('tax', 'charges', 'lire')) if(isModEnabled('invoice') &&isModEnabled('order') && $user->hasRight("commande", "lire") &&!getDolGlobalString('WORKFLOW_DISABLE_CREATE_INVOICE_FROM_ORDER')) $sql
Social contributions to pay.
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.