Added the new familyinfo property from 4.0.0

This commit is contained in:
Raphaël Doursenaud 2016-09-08 16:58:01 +02:00
parent 72d9f3cd5f
commit d89a877a00
No known key found for this signature in database
GPG Key ID: 6992A63407576955

View File

@ -58,9 +58,28 @@ class DolibarrModules // Can not be abstract, because we need to insta
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;
/**
* @var array Custom family informations
* @see family
*
* e.g.:
* array(
* 'myownfamily' => array(
* 'position' => '001',
* 'label' => $langs->trans("MyOwnFamily")
* )
* );
*
*/
public $familyinfo;
/**
* @var int Module position
@ -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
* @deprecated @since 4.0.0
* @see family
* @see familyinfo
*
* 0: common
* 1: interface