27 include_once DOL_DOCUMENT_ROOT.
'/core/modules/DolibarrModules.class.php';
47 $this->family =
"interface";
49 $this->module_position =
'22';
51 $this->
name = preg_replace(
'/^mod/i',
'', get_class($this));
52 $this->
description =
"EMail notifications (push) on business Dolibarr events";
53 $this->descriptionlong =
'Module600Long';
55 $this->version =
'dolibarr';
56 $this->const_name =
'MAIN_MODULE_'.strtoupper($this->
name);
57 $this->picto =
'email';
60 $this->dirs = array();
63 $this->hidden =
false;
64 $this->depends = array();
65 $this->requiredby = array();
66 $this->conflictwith = array();
67 $this->phpmin = array(7, 0);
68 $this->langfiles = array(
"mails");
71 $this->config_page_url = array(
"notification.php");
74 $this->
const = array();
77 $this->boxes = array();
80 $this->rights = array();
81 $this->rights_class =
'notification';
93 public function init($options =
'')
96 $this->
remove($options);
_init($array_sql, $options='')
Enables a module.
Class to describe and enable module Mailing.
init($options='')
Function called when module is enabled.
__construct($db)
Constructor.
if(isModEnabled('facture') && $user->hasRight('facture', 'lire')) if((isModEnabled('fournisseur') &&empty($conf->global->MAIN_USE_NEW_SUPPLIERMOD) && $user->hasRight("fournisseur", "facture", "lire"))||(isModEnabled('supplier_invoice') && $user->hasRight("supplier_invoice", "lire"))) if(isModEnabled('don') && $user->hasRight('don', 'lire')) if(isModEnabled('tax') &&!empty($user->rights->tax->charges->lire)) if(isModEnabled('facture') &&isModEnabled('commande') && $user->hasRight("commande", "lire") &&empty($conf->global->WORKFLOW_DISABLE_CREATE_INVOICE_FROM_ORDER)) $sql
Social contributions to pay.
print *****$script_file(".$version.") pid 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.