Skip to content

Commit

Permalink
Docs : update and complete comments
Browse files Browse the repository at this point in the history
  • Loading branch information
grandoc committed Jul 9, 2018
1 parent 2ef78be commit b4b3e33
Show file tree
Hide file tree
Showing 8 changed files with 42 additions and 22 deletions.
8 changes: 5 additions & 3 deletions htdocs/core/modules/modImport.class.php
Expand Up @@ -60,9 +60,11 @@ function __construct($db)
$this->config_page_url = array();

// Dependencies
$this->depends = array();
$this->requiredby = array();
$this->phpmin = array(4,3,0); // Need auto_detect_line_endings php option to solve MAC pbs.
$this->hidden = false; // A condition to hide module
$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 - Need auto_detect_line_endings php option to solve MAC pbs.
$this->phpmax = array();
$this->need_dolibarr_version = array(2,7,-1); // Minimum version of Dolibarr required by module
$this->need_javascript_ajax = 1;
Expand Down
8 changes: 5 additions & 3 deletions htdocs/core/modules/modIncoterm.class.php
Expand Up @@ -65,9 +65,11 @@ function __construct($db)
$this->config_page_url = array();

// Dependencies
$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->phpmin = array(5,0); // Minimum version of PHP required by module
$this->hidden = false; // A condition to hide module
$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
$this->need_dolibarr_version = array(3,0); // Minimum version of Dolibarr required by module
$this->langfiles = array("incoterm");

Expand Down
9 changes: 6 additions & 3 deletions htdocs/core/modules/modLabel.class.php
Expand Up @@ -56,9 +56,12 @@ function __construct($db)
// Data directories to create when module is enabled
$this->dirs = array("/label/temp");

// Dependancies
$this->depends = array();
$this->requiredby = array();
// Dependencies
$this->hidden = false; // A condition to hide module
$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

// Config pages
// $this->config_page_url = array("label.php");
Expand Down
9 changes: 6 additions & 3 deletions htdocs/core/modules/modLdap.class.php
Expand Up @@ -60,9 +60,12 @@ function __construct($db)
// Config pages
$this->config_page_url = array("ldap.php");

// Dependancies
$this->depends = array();
$this->requiredby = array();
// Dependencies
$this->hidden = false; // A condition to hide module
$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
$this->const = array(
Expand Down
8 changes: 5 additions & 3 deletions htdocs/core/modules/modLoan.class.php
Expand Up @@ -63,9 +63,11 @@ function __construct($db)
$this->config_page_url = array('loan.php');

// Dependencies
$this->depends = array();
$this->requiredby = array();
$this->conflictwith = array();
$this->hidden = false; // A condition to hide module
$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
$this->langfiles = array("loan");

// Constants
Expand Down
7 changes: 5 additions & 2 deletions htdocs/core/modules/modMailing.class.php
Expand Up @@ -57,8 +57,11 @@ function __construct($db)
$this->dirs = array("/mailing/temp");

// Dependencies
$this->depends = array();
$this->requiredby = array();
$this->hidden = false; // A condition to hide module
$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
$this->langfiles = array("mails");

// Config pages
Expand Down
7 changes: 5 additions & 2 deletions htdocs/core/modules/modMailmanSpip.class.php
Expand Up @@ -58,8 +58,11 @@ function __construct($db)
$this->dirs = array();

// Dependencies
$this->depends = array('modAdherent');
$this->requiredby = array();
$this->hidden = false; // A condition to hide module
$this->depends = array('modAdherent'); // 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

// Config pages
$this->config_page_url = array('mailman.php');
Expand Down
8 changes: 5 additions & 3 deletions htdocs/core/modules/modMargin.class.php
Expand Up @@ -68,9 +68,11 @@ function __construct($db)
$this->config_page_url = array("margin.php@margin");

// Dependencies
$this->depends = array("modPropale", "modProduct"); // 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->phpmin = array(5,1); // Minimum version of PHP required by module
$this->hidden = false; // A condition to hide module
$this->depends = array("modPropale", "modProduct"); // 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
$this->need_dolibarr_version = array(3,2); // Minimum version of Dolibarr required by module
$this->langfiles = array("margins");

Expand Down

0 comments on commit b4b3e33

Please sign in to comment.