26include_once DOL_DOCUMENT_ROOT.
'/core/modules/DolibarrModules.class.php';
42 $this->numero = 30000;
46 $this->family =
"ecm";
47 $this->module_position =
'51';
49 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
50 $this->
description =
"Enable public collaboration features on documents, like shared pad, shared online sheets, etc...";
52 $this->version =
'development';
54 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
56 $this->picto =
'collab';
59 $this->dirs = array(
"/collab/temp");
63 $this->config_page_url = array();
68 $this->depends = array();
69 $this->requiredby = array();
70 $this->conflictwith = array();
71 $this->langfiles = array(
"collab");
75 $this->
const = array();
79 $this->tabs = array();
83 $this->boxes = array();
86 $this->rights = array();
87 $this->rights_class =
'collab';
110 $this->menu[$r] = array(
114 'prefix' =>
img_picto(
'', $this->picto,
'class="paddingright pictofixedwidth em092"'),
115 'mainmenu' =>
'collab',
116 'url' =>
'/collab/index.php',
119 'enabled' =>
'isModEnabled("collab")',
Class to describe Websites 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.
img_picto($titlealt, $picto, $moreatt='', $pictoisfullpath=0, $srconly=0, $notitle=0, $alt='', $morecss='', $marginleftonlyshort=2, $allowothertags=array())
Show picto whatever it's its name (generic function)
getDolGlobalInt($key, $default=0)
Return a Dolibarr global constant int value.
$conf db name
Only used if Module[ID]Name translation string is not found.