Docs : Update and complete

This commit is contained in:
Philippe GRAND 2018-07-10 14:57:23 +02:00
parent 243bc49a90
commit 0d10722a7f
6 changed files with 33 additions and 15 deletions

View File

@ -66,8 +66,11 @@ class modSociete extends DolibarrModules
$this->dirs = array("/societe/temp"); $this->dirs = array("/societe/temp");
// Dependencies // Dependencies
$this->depends = array(); $this->hidden = false; // A condition to hide module
$this->requiredby = array("modExpedition","modFacture","modFournisseur","modFicheinter","modPropale","modContrat","modCommande"); $this->depends = array(); // List of module class names as string that must be enabled if this module is enabled
$this->requiredby = array("modExpedition","modFacture","modFournisseur","modFicheinter","modPropale","modContrat","modCommande"); // List of module ids to disable if this one is disabled
$this->conflictwith = array(); // List of module class names as string this module is in conflict with
$this->phpmin = array(5,4); // Minimum version of PHP required by module
$this->langfiles = array("companies",'bills'); $this->langfiles = array("companies",'bills');
// Constants // Constants

View File

@ -65,8 +65,11 @@ class modStock extends DolibarrModules
$this->config_page_url = array("stock.php"); $this->config_page_url = array("stock.php");
// Dependencies // Dependencies
$this->depends = array("modProduct"); $this->hidden = false; // A condition to hide module
$this->requiredby = array("modProductBatch"); $this->depends = array("modProduct"); // List of module class names as string that must be enabled if this module is enabled
$this->requiredby = array("modProductBatch"); // List of module ids to disable if this one is disabled
$this->conflictwith = array(); // List of module class names as string this module is in conflict with
$this->phpmin = array(5,4); // Minimum version of PHP required by module
$this->langfiles = array("stocks"); $this->langfiles = array("stocks");
// Constants // Constants

View File

@ -65,10 +65,11 @@ class modStripe extends DolibarrModules
// Data directories to create when module is enabled. // Data directories to create when module is enabled.
$this->dirs = array(); $this->dirs = array();
// Config pages. Put here list of php page names stored in admmin directory used to setup module. // Config pages. Put here list of php page names stored in admin directory used to setup module.
$this->config_page_url = array("stripe.php@stripe"); $this->config_page_url = array("stripe.php@stripe");
// Dependencies // Dependencies
$this->hidden = false; // A condition to hide module
$this->depends = array(); // List of modules id that must be enabled if this module is enabled $this->depends = array(); // List of modules id that must be enabled if this module is enabled
$this->requiredby = array(); // List of modules id to disable if this one is disabled $this->requiredby = array(); // List of modules id to disable if this one is disabled
$this->phpmin = array(5,4); // Minimum version of PHP required by module $this->phpmin = array(5,4); // Minimum version of PHP required by module

View File

@ -57,13 +57,19 @@ class modSupplierProposal extends DolibarrModules
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name); $this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
$this->picto='supplier_proposal'; $this->picto='supplier_proposal';
// Data directories to create when module is enabled.
$this->dirs = array(); $this->dirs = array();
// Config pages. Put here list of php page names stored in admin directory used to setup module.
$this->config_page_url = array("supplier_proposal.php");
// Dependancies // Dependencies
$this->depends = array('modFournisseur'); $this->hidden = false; // A condition to hide module
$this->requiredby = array(); $this->depends = array('modFournisseur'); // List of module class names as string that must be enabled if this module is enabled
$this->config_page_url = array("supplier_proposal.php"); $this->requiredby = array(); // List of module ids to disable if this one is disabled
$this->conflictwith = array(); // List of module class names as string this module is in conflict with
$this->phpmin = array(5,4); // Minimum version of PHP required by module
$this->langfiles = array("supplier_proposal"); $this->langfiles = array("supplier_proposal");
// Constants // Constants

View File

@ -67,8 +67,11 @@ class modSyslog extends DolibarrModules
$this->config_page_url = array("syslog.php"); $this->config_page_url = array("syslog.php");
// Dependencies // Dependencies
$this->depends = array(); $this->hidden = false; // A condition to hide module
$this->requiredby = array(); $this->depends = array(); // List of module class names as string that must be enabled if this module is enabled
$this->requiredby = array(); // List of module ids to disable if this one is disabled
$this->conflictwith = array(); // List of module class names as string this module is in conflict with
$this->phpmin = array(5,4); // Minimum version of PHP required by module
// Constants // Constants
$this->const = array(); $this->const = array();

View File

@ -67,9 +67,11 @@ class modTax extends DolibarrModules
$this->config_page_url = array("taxes.php"); $this->config_page_url = array("taxes.php");
// Dependencies // Dependencies
$this->depends = array(); $this->hidden = false; // A condition to hide module
$this->requiredby = array(); $this->depends = array(); // List of module class names as string that must be enabled if this module is enabled
$this->conflictwith = array(); $this->requiredby = array(); // List of module ids to disable if this one is disabled
$this->conflictwith = array(); // List of module class names as string this module is in conflict with
$this->phpmin = array(5,4); // Minimum version of PHP required by module
$this->langfiles = array("compta","bills"); $this->langfiles = array("compta","bills");
// Constants // Constants