Nicer combo of companies for external modules

This commit is contained in:
Laurent Destailleur
2024-04-03 13:20:26 +02:00
parent 5acdcac75d
commit f03eb260de
5 changed files with 41 additions and 13 deletions

View File

@@ -38,30 +38,33 @@
class DolibarrModules // Can not be abstract, because we need to instantiate it into unActivateModule to be able to disable a module whose files were removed.
{
/**
* @var DoliDB Database handler
* @var DoliDB Database handler
*/
public $db;
/**
* @var int Module unique ID
* @var int Module unique ID
* @see https://wiki.dolibarr.org/index.php/List_of_modules_id
*/
public $numero;
/**
* @var string Publisher name
* @since 4.0.0
* @var string Publisher name
*/
public $editor_name;
/**
* @var string URL of module at publisher site
* @since 4.0.0
* @var string URL of module at publisher site
*/
public $editor_url;
/**
* @var string Family
* @var string URL of logo of the publisher. Must be image filename into the module/img directory followed with @modulename. Example: 'myimage.png@mymodule'.
*/
public $editor_squarred_logo;
/**
* @var string Family
* @see $familyinfo
*
* Native values: 'crm', 'financial', 'hr', 'projects', 'products', 'ecm', 'technic', 'other'.
@@ -84,12 +87,12 @@ class DolibarrModules // Can not be abstract, because we need to instantiate it
public $familyinfo;
/**
* @var string Module position on 2 digits
* @var string Module position on 2 digits
*/
public $module_position = '50';
/**
* @var string Module name
* @var string Module name
*
* Only used if Module[ID]Name translation string is not found.
*