commit
d1ef145a6d
@ -49,8 +49,8 @@ class Categorie extends CommonObject
|
|||||||
const TYPE_MEMBER = 3; // TODO Replace this value with 'member'
|
const TYPE_MEMBER = 3; // TODO Replace this value with 'member'
|
||||||
const TYPE_CONTACT = 4; // TODO Replace this value with 'contact'
|
const TYPE_CONTACT = 4; // TODO Replace this value with 'contact'
|
||||||
const TYPE_USER = 4; // categorie contact and user are same ! TODO Replace this value with 'user'
|
const TYPE_USER = 4; // categorie contact and user are same ! TODO Replace this value with 'user'
|
||||||
const TYPE_ACCOUNT = 5; // for bank account TODO Replace this value with 'account'
|
const TYPE_ACCOUNT = 5; // for bank account TODO Replace this value with 'account'
|
||||||
const TYPE_PROJECT = 6;
|
const TYPE_PROJECT = 6;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var array ID mapping from type string
|
* @var array ID mapping from type string
|
||||||
@ -131,17 +131,17 @@ class Categorie extends CommonObject
|
|||||||
public $element='category';
|
public $element='category';
|
||||||
public $table_element='categories';
|
public $table_element='categories';
|
||||||
|
|
||||||
var $fk_parent;
|
public $fk_parent;
|
||||||
var $label;
|
public $label;
|
||||||
var $description;
|
public $description;
|
||||||
/**
|
/**
|
||||||
* @var string Color
|
* @var string Color
|
||||||
*/
|
*/
|
||||||
var $color;
|
public $color;
|
||||||
/**
|
/**
|
||||||
* @var ???
|
* @var ???
|
||||||
*/
|
*/
|
||||||
var $socid;
|
public $socid;
|
||||||
/**
|
/**
|
||||||
* @var int Category type
|
* @var int Category type
|
||||||
*
|
*
|
||||||
@ -154,10 +154,10 @@ class Categorie extends CommonObject
|
|||||||
* @see Categorie::TYPE_ACCOUNT
|
* @see Categorie::TYPE_ACCOUNT
|
||||||
* @see Categorie::TYPE_PROJECT
|
* @see Categorie::TYPE_PROJECT
|
||||||
*/
|
*/
|
||||||
var $type;
|
public $type;
|
||||||
|
|
||||||
var $cats=array(); // Categories table in memory
|
public $cats = array(); // Categories table in memory
|
||||||
var $motherof=array();
|
public $motherof = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user