26 include_once DOL_DOCUMENT_ROOT.
'/core/modules/DolibarrModules.class.php';
46 $this->rights_class =
'debugbar';
48 $this->family =
"base";
49 $this->module_position =
'75';
52 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
53 $this->
description =
"A tool for developper adding a debug bar in your browser.";
55 $this->version =
'dolibarr';
56 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
59 $this->module_parts = array(
'moduleforexternal' => 0);
62 $this->dirs = array();
65 $this->depends = array();
66 $this->requiredby = array();
69 $this->config_page_url = array(
"debugbar.php");
74 $this->
const = array();
77 $this->boxes = array();
80 $this->rights = array();
82 $this->rights[1][0] = 430;
83 $this->rights[1][1] =
'Use Debug Bar';
84 $this->rights[1][2] =
'u';
85 $this->rights[1][3] = 1;
86 $this->rights[1][4] =
'read';
98 public function init($options =
'')
101 $this->
remove($options);
106 return $this->
_init($sql, $options);
</td > param sortfield sortorder printFieldListOption< tdclass="liste_titremaxwidthsearchright"></td ></tr >< trclass="liste_titre">< inputtype="checkbox"onClick="toggle(this)"/> Ref p ref Label p label Duration p duration center DesiredStock p desiredstock right StockLimitShort p seuil_stock_alerte right stock_physique right stock_real_warehouse right Ordered right StockToBuy right SupplierRef right param sortfield sortorder printFieldListTitle warehouseinternal SELECT description FROM product_lang WHERE qty< br > qty qty qty StockTooLow StockTooLow help help help< trclass="oddeven">< td >< inputtype="checkbox"class="check"name="choose'.$i.'"></td >< tdclass="nowrap"> stock</td >< td >< inputtype="hidden"name="desc'.$i.'"value="'.dol_escape_htmltag($objp-> 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.
Class to describe and enable module.
$conf db
API class for accounts.
init($options= '')
Function called when module is enabled.
_init($array_sql, $options= '')
Enables a module.
__construct($db)
Constructor.