25include_once DOL_DOCUMENT_ROOT.
'/core/modules/DolibarrModules.class.php';
43 $this->numero = 30000;
47 $this->family =
"portal";
48 $this->module_position =
'51';
50 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
51 $this->
description =
"Enable the public collaboration features, like shared pad, shared online sheets, etc...";
53 $this->version =
'development';
55 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
57 $this->picto =
'collab';
60 $this->dirs = array(
"/collab/temp");
64 $this->config_page_url = array();
69 $this->depends = array();
70 $this->requiredby = array();
71 $this->conflictwith = array();
72 $this->langfiles = array(
"collab");
76 $this->
const = array();
80 $this->tabs = array();
84 $this->boxes = array();
87 $this->rights = array();
88 $this->rights_class =
'collab';
111 $this->menu[$r] = array(
115 'prefix' =>
img_picto(
'', $this->picto,
'class="paddingright pictofixedwidth em092"'),
116 'mainmenu'=>
'collab',
117 'url'=>
'/collab/index.php',
120 'enabled'=>
'$conf->collab->enabled',
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=false, $srconly=0, $notitle=0, $alt='', $morecss='', $marginleftonlyshort=2)
Show picto whatever it's its name (generic function)
getDolGlobalString($key, $default='')
Return dolibarr global constant string value.
$conf db name
Only used if Module[ID]Name translation string is not found.