26 include_once DOL_DOCUMENT_ROOT.
'/core/modules/DolibarrModules.class.php';
47 $this->numero = 50310;
49 $this->rights_class =
'dav';
53 $this->family =
"interface";
55 $this->module_position =
'75';
60 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
64 $this->descriptionlong =
"davDescription";
67 $this->version =
'dolibarr';
69 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
73 $this->picto =
'generic';
79 $this->module_parts = array();
83 $this->dirs = array(
"/dav/temp",
"/dav/public",
"/dav/private");
86 $this->config_page_url = array(
"dav.php");
89 $this->hidden =
false;
90 $this->depends = array();
91 $this->requiredby = array();
92 $this->conflictwith = array();
93 $this->langfiles = array(
"admin");
94 $this->phpmin = array(5, 6);
95 $this->need_dolibarr_version = array(7, 0);
96 $this->warnings_activation = array();
97 $this->warnings_activation_ext = array();
106 $this->
const = array(
111 if (!isset($conf->dav) || !isset($conf->dav->enabled))
113 $conf->dav =
new stdClass();
114 $conf->dav->enabled = 0;
119 $this->tabs = array();
148 $this->dictionaries = array();
167 $this->boxes = array(
185 $this->rights = array();
211 $this->menu = array();
268 public function init($options =
'')
273 include_once DOL_DOCUMENT_ROOT.
'/core/class/extrafields.class.php';
284 return $this->
_init($sql, $options);
295 public function remove($options =
'')
299 return $this->
_remove($sql, $options);
Description and activation class for module dav.
</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.
__construct($db)
Constructor.
$conf db
API class for accounts.
_remove($array_sql, $options= '')
Disable function.
_init($array_sql, $options= '')
Enables a module.
init($options= '')
Function called when module is enabled.