Merge pull request #20931 from homer8173/patch-36
Update categorie.class.php
This commit is contained in:
commit
71c71d11c4
@ -113,7 +113,7 @@ class Categorie extends CommonObject
|
|||||||
*
|
*
|
||||||
* @todo Move to const array when PHP 5.6 will be our minimum target
|
* @todo Move to const array when PHP 5.6 will be our minimum target
|
||||||
*/
|
*/
|
||||||
protected $MAP_CAT_FK = array(
|
public static $MAP_CAT_FK = array(
|
||||||
'customer' => 'soc',
|
'customer' => 'soc',
|
||||||
'supplier' => 'soc',
|
'supplier' => 'soc',
|
||||||
'contact' => 'socpeople',
|
'contact' => 'socpeople',
|
||||||
@ -125,7 +125,7 @@ class Categorie extends CommonObject
|
|||||||
*
|
*
|
||||||
* @note Move to const array when PHP 5.6 will be our minimum target
|
* @note Move to const array when PHP 5.6 will be our minimum target
|
||||||
*/
|
*/
|
||||||
protected $MAP_CAT_TABLE = array(
|
public static $MAP_CAT_TABLE = array(
|
||||||
'customer' => 'societe',
|
'customer' => 'societe',
|
||||||
'supplier' => 'fournisseur',
|
'supplier' => 'fournisseur',
|
||||||
'bank_account'=> 'account',
|
'bank_account'=> 'account',
|
||||||
@ -136,7 +136,7 @@ class Categorie extends CommonObject
|
|||||||
*
|
*
|
||||||
* @note Move to const array when PHP 5.6 will be our minimum target
|
* @note Move to const array when PHP 5.6 will be our minimum target
|
||||||
*/
|
*/
|
||||||
protected $MAP_OBJ_CLASS = array(
|
public static $MAP_OBJ_CLASS = array(
|
||||||
'product' => 'Product',
|
'product' => 'Product',
|
||||||
'customer' => 'Societe',
|
'customer' => 'Societe',
|
||||||
'supplier' => 'Fournisseur',
|
'supplier' => 'Fournisseur',
|
||||||
@ -178,7 +178,7 @@ class Categorie extends CommonObject
|
|||||||
*
|
*
|
||||||
* @note Move to const array when PHP 5.6 will be our minimum target
|
* @note Move to const array when PHP 5.6 will be our minimum target
|
||||||
*/
|
*/
|
||||||
protected $MAP_OBJ_TABLE = array(
|
public static $MAP_OBJ_TABLE = array(
|
||||||
'customer' => 'societe',
|
'customer' => 'societe',
|
||||||
'supplier' => 'societe',
|
'supplier' => 'societe',
|
||||||
'member' => 'adherent',
|
'member' => 'adherent',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user