26include_once DOL_DOCUMENT_ROOT.
'/core/modules/DolibarrModules.class.php';
44 $this->numero = 30000;
48 $this->family =
"portal";
49 $this->module_position =
'51';
51 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
52 $this->
description =
"Enable the public collaboration features, like shared pad, shared online sheets, etc...";
54 $this->version =
'development';
56 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
58 $this->picto =
'collab';
61 $this->dirs = array(
"/collab/temp");
65 $this->config_page_url = array();
70 $this->depends = array();
71 $this->requiredby = array();
72 $this->conflictwith = array();
73 $this->langfiles = array(
"collab");
77 $this->
const = array();
81 $this->tabs = array();
85 $this->boxes = array();
88 $this->rights = array();
89 $this->rights_class =
'collab';
112 $this->menu[$r] = array(
116 'prefix' =>
img_picto(
'', $this->picto,
'class="paddingright pictofixedwidth em092"'),
117 'mainmenu' =>
'collab',
118 'url' =>
'/collab/index.php',
121 '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)
Show picto whatever it's its name (generic function)
getDolGlobalInt($key, $default=0)
Return a Dolibarr global constant int value.
global $conf
The following vars must be defined: $type2label $form $conf, $lang, The following vars may also be de...
$conf db name
Only used if Module[ID]Name translation string is not found.