Added the new familyinfo property from 4.0.0
This commit is contained in:
parent
72d9f3cd5f
commit
d89a877a00
@ -58,10 +58,29 @@ class DolibarrModules // Can not be abstract, because we need to insta
|
|||||||
public $editor_url;
|
public $editor_url;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var 'crm'|'financial'|'hr'|'projects'|'products'|'ecm'|'technic'|'other' Family
|
* @var string Family
|
||||||
|
* @see familyinfo
|
||||||
|
*
|
||||||
|
* Native values: 'crm', 'financial', 'hr', 'projects', 'products', 'ecm', 'technic', 'other'.
|
||||||
|
* Use familyinfo to declare a custom value.
|
||||||
*/
|
*/
|
||||||
public $family;
|
public $family;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var array Custom family informations
|
||||||
|
* @see family
|
||||||
|
*
|
||||||
|
* e.g.:
|
||||||
|
* array(
|
||||||
|
* 'myownfamily' => array(
|
||||||
|
* 'position' => '001',
|
||||||
|
* 'label' => $langs->trans("MyOwnFamily")
|
||||||
|
* )
|
||||||
|
* );
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public $familyinfo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var int Module position
|
* @var int Module position
|
||||||
* @since 3.9.0
|
* @since 3.9.0
|
||||||
@ -245,6 +264,9 @@ class DolibarrModules // Can not be abstract, because we need to insta
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @var 0|1|2|3 Where to display the module in setup page
|
* @var 0|1|2|3 Where to display the module in setup page
|
||||||
|
* @deprecated @since 4.0.0
|
||||||
|
* @see family
|
||||||
|
* @see familyinfo
|
||||||
*
|
*
|
||||||
* 0: common
|
* 0: common
|
||||||
* 1: interface
|
* 1: interface
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user