Skip to content
Snippets Groups Projects
Commit 5772e46c authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

We start new modules with level "experimental".

parent a996e8f9
No related branches found
No related tags found
No related merge requests found
...@@ -54,11 +54,11 @@ class modCommissions extends DolibarrModules ...@@ -54,11 +54,11 @@ class modCommissions extends DolibarrModules
// Module description, used if translation string 'ModuleXXXDesc' not found (where XXX is value of numeric property 'numero' of module) // Module description, used if translation string 'ModuleXXXDesc' not found (where XXX is value of numeric property 'numero' of module)
$this->description = "Commissions management"; $this->description = "Commissions management";
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version // Possible values for version are: 'development', 'experimental', 'dolibarr' or version
$this->version = 'dolibarr'; $this->version = 'experimental';
// Key used in llx_const table to save module status enabled/disabled (where MYMODULE is value of property name of module in uppercase) // Key used in llx_const table to save module status enabled/disabled (where MYMODULE is value of property name of module in uppercase)
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name); $this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
// Where to store the module in setup page (0=common,1=interface,2=other) // Where to store the module in setup page (0=common,1=interface,2=other)
$this->special = 0; $this->special = 2;
// Name of png file (without png) used for this module. // Name of png file (without png) used for this module.
// Png file must be in theme/yourtheme/img directory under name object_pictovalue.png. // Png file must be in theme/yourtheme/img directory under name object_pictovalue.png.
$this->picto='commissions'; $this->picto='commissions';
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
*/ */
/** \defgroup margin Module Margin /** \defgroup margin Module Margin
* \brief Example of a module descriptor. * \brief Module to manage margins
* \file htdocs/includes/modules/modMargin.class.php * \file htdocs/includes/modules/modMargin.class.php
* \ingroup margin * \ingroup margin
* \brief Description and activation file for module Margin * \brief Description and activation file for module Margin
...@@ -52,11 +52,11 @@ class modMargin extends DolibarrModules ...@@ -52,11 +52,11 @@ class modMargin extends DolibarrModules
// Module description, used if translation string 'ModuleXXXDesc' not found (where XXX is value of numeric property 'numero' of module) // Module description, used if translation string 'ModuleXXXDesc' not found (where XXX is value of numeric property 'numero' of module)
$this->description = "Margin management"; $this->description = "Margin management";
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version // Possible values for version are: 'development', 'experimental', 'dolibarr' or version
$this->version = 'dolibarr'; $this->version = 'experimental';
// Key used in llx_const table to save module status enabled/disabled (where MYMODULE is value of property name of module in uppercase) // Key used in llx_const table to save module status enabled/disabled (where MYMODULE is value of property name of module in uppercase)
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name); $this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
// Where to store the module in setup page (0=common,1=interface,2=other) // Where to store the module in setup page (0=common,1=interface,2=other)
$this->special = 0; $this->special = 2;
// Name of png file (without png) used for this module. // Name of png file (without png) used for this module.
// Png file must be in theme/yourtheme/img directory under name object_pictovalue.png. // Png file must be in theme/yourtheme/img directory under name object_pictovalue.png.
$this->picto='margin'; $this->picto='margin';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment