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(5, 4);
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);
</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.
$conf db
API class for accounts.
init($options= '')
Function called when module is enabled.
_init($array_sql, $options= '')
Enables a module.
Class to describe and enable module Label.
__construct($db)
Constructor.