Skip to content

Commit

Permalink
Docs : Update and complete
Browse files Browse the repository at this point in the history
  • Loading branch information
grandoc committed Jul 10, 2018
1 parent e0c3d17 commit b92190a
Show file tree
Hide file tree
Showing 10 changed files with 50 additions and 36 deletions.
8 changes: 5 additions & 3 deletions htdocs/core/modules/modPrinting.class.php
Expand Up @@ -66,9 +66,11 @@ function __construct($db)
$this->config_page_url = array("printing.php@printing");

// Dependencies
$this->depends = array();
$this->requiredby = array();
$this->phpmin = array(5,1); // 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,7,-2); // Minimum version of Dolibarr required by module
$this->conflictwith = array();
$this->langfiles = array("printing");
Expand Down
7 changes: 5 additions & 2 deletions htdocs/core/modules/modProduct.class.php
Expand Up @@ -65,8 +65,11 @@ function __construct($db)
$this->dirs = array("/product/temp");

// Dependencies
$this->depends = array();
$this->requiredby = array("modStock","modBarcode","modProductBatch");
$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("modStock","modBarcode","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

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

// Dependencies
$this->depends = array("modProduct","modStock","modExpedition","modFournisseur"); // List of modules id that must be enabled if this module is enabled. modExpedition is required to manage batch exit (by manual stock decrease on shipment), modSupplier to manage batch entry (after supplier order).
$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("modProduct","modStock","modExpedition","modFournisseur"); // 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("productbatch");

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

// Dependancies
$this->depends = array();
$this->requiredby = array();
$this->conflictwith = 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
$this->langfiles = array('projects');

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

// Dependancies
$this->depends = array("modSociete");
$this->requiredby = array();
// Dependencies
$this->hidden = false; // A condition to hide module
$this->depends = array("modSociete"); // 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->config_page_url = array("propal.php");
$this->langfiles = array("propal","bills","companies","deliveries","products");

Expand Down
8 changes: 5 additions & 3 deletions htdocs/core/modules/modReceiptPrinter.class.php
Expand Up @@ -67,9 +67,11 @@ function __construct($db)
$this->config_page_url = array("receiptprinter.php");

// Dependencies
$this->depends = array();
$this->requiredby = array();
$this->phpmin = array(5,1); // 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,9,-2); // Minimum version of Dolibarr required by module
$this->conflictwith = array();
$this->langfiles = array("receiptprinter");
Expand Down
2 changes: 1 addition & 1 deletion htdocs/core/modules/modResource.class.php
Expand Up @@ -95,7 +95,7 @@ public function __construct($db)
// List of modules id to disable if this one is disabled
$this->requiredby = array('modPlace');
// Minimum version of PHP required by module
$this->phpmin = array(5, 3);
$this->phpmin = array(5, 4);

$this->langfiles = array("resource"); // langfiles@resource
// Constants
Expand Down
8 changes: 5 additions & 3 deletions htdocs/core/modules/modSalaries.class.php
Expand Up @@ -70,9 +70,11 @@ function __construct($db)
$this->config_page_url = array();

// 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("salaries","bills");

// Constants
Expand Down
9 changes: 6 additions & 3 deletions htdocs/core/modules/modService.class.php
Expand Up @@ -62,9 +62,12 @@ function __construct($db)
// Data directories to create when module is enabled
$this->dirs = array("/product/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("product.php@product");
Expand Down
17 changes: 6 additions & 11 deletions htdocs/core/modules/modSkype.class.php
Expand Up @@ -59,31 +59,26 @@ function __construct($db)
$this->dirs = array();

// Config pages
//-------------
$this->config_page_url = array();

// Dependancies
//-------------
$this->hidden = ! empty($conf->global->MODULE_SKYPE_DISABLED); // A condition to disable module
$this->depends = array('modSociete'); // 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->conflictwith = array(); // List of modules id this module is in conflict with
// Dependencies
$this->hidden = ! empty($conf->global->MODULE_SKYPE_DISABLED); // A condition to hide module
$this->depends = array('modSociete'); // 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();

// Constants
//-----------


// New pages on tabs
// -----------------
$this->tabs = array();

// Boxes
//------
$this->boxes = array();

// Main menu entries
//------------------
$this->menu = array();
}
}

0 comments on commit b92190a

Please sign in to comment.