27 include_once DOL_DOCUMENT_ROOT.
'/core/modules/DolibarrModules.class.php';
46 $this->family =
"technic";
48 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
52 $this->version =
'dolibarr';
54 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
55 $this->picto =
'bookmark';
58 $this->dirs = array();
61 $this->depends = array();
62 $this->requiredby = array();
63 $this->langfiles = array(
"bookmarks");
66 $this->config_page_url = array(
'bookmark.php@bookmarks');
69 $this->
const = array();
73 0=>array(
'file'=>
'box_bookmarks.php',
'enabledbydefaulton'=>
'Home')
77 $this->rights = array();
78 $this->rights_class =
'bookmark';
82 $this->rights[$r][0] = 331;
83 $this->rights[$r][1] =
'Lire les bookmarks';
84 $this->rights[$r][2] =
'r';
85 $this->rights[$r][3] = 0;
86 $this->rights[$r][4] =
'lire';
89 $this->rights[$r][0] = 332;
90 $this->rights[$r][1] =
'Creer/modifier les bookmarks';
91 $this->rights[$r][2] =
'r';
92 $this->rights[$r][3] = 0;
93 $this->rights[$r][4] =
'creer';
96 $this->rights[$r][0] = 333;
97 $this->rights[$r][1] =
'Supprimer les bookmarks';
98 $this->rights[$r][2] =
'r';
99 $this->rights[$r][3] = 0;
100 $this->rights[$r][4] =
'supprimer';
</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.
__construct($db)
Constructor.
$conf db name
Only used if Module[ID]Name translation string is not found.
$conf db
API class for accounts.
Class to describe and enable module Bookmark.