25include_once DOL_DOCUMENT_ROOT.
'/core/modules/DolibarrModules.class.php';
44 $this->family =
"products";
45 $this->module_position =
'85';
47 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
48 $this->
description =
"Enable the usage of math expressions for prices";
50 $this->version =
'experimental';
52 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
54 $this->picto =
'dynamicprice';
57 $this->dirs = array();
61 $this->config_page_url = array(
"dynamic_prices.php@product");
65 $this->depends = array();
66 $this->requiredby = array();
67 $this->langfiles = array(
"other");
71 $this->
const = array();
75 $this->tabs = array();
79 $this->boxes = array();
83 $this->rights = array();
84 $this->rights_class =
'dynamicprices';
Class descriptor of DynamicPrices module.
__construct($db)
Constructor.
print $script_file $mode $langs defaultlang(is_numeric($duration_value) ? " delay=". $duration_value :"").(is_numeric($duration_value2) ? " after 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.