Standardize and update code
This commit is contained in:
parent
edaa575435
commit
bb05e80a87
@ -96,7 +96,12 @@ class Asset extends CommonObject
|
|||||||
'status' => array('type'=>'integer', 'label'=>'Status', 'visible'=>1, 'enabled'=>1, 'position'=>1000, 'notnull'=>1, 'index'=>1, 'arrayofkeyval'=>array('0'=>'Draft', '1'=>'Active', '-1'=>'Cancel')),
|
'status' => array('type'=>'integer', 'label'=>'Status', 'visible'=>1, 'enabled'=>1, 'position'=>1000, 'notnull'=>1, 'index'=>1, 'arrayofkeyval'=>array('0'=>'Draft', '1'=>'Active', '-1'=>'Cancel')),
|
||||||
);
|
);
|
||||||
public $rowid;
|
public $rowid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string Ref
|
||||||
|
*/
|
||||||
public $ref;
|
public $ref;
|
||||||
|
|
||||||
public $entity;
|
public $entity;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -56,6 +56,10 @@ class RemiseCheque extends CommonObject
|
|||||||
public $account_label;
|
public $account_label;
|
||||||
public $author_id;
|
public $author_id;
|
||||||
public $nbcheque;
|
public $nbcheque;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string Ref
|
||||||
|
*/
|
||||||
public $ref;
|
public $ref;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -1334,6 +1334,10 @@ class Cronjobline
|
|||||||
{
|
{
|
||||||
|
|
||||||
public $id;
|
public $id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string Ref
|
||||||
|
*/
|
||||||
public $ref;
|
public $ref;
|
||||||
|
|
||||||
public $tms='';
|
public $tms='';
|
||||||
|
|||||||
@ -56,6 +56,10 @@ class EcmDirectory // extends CommonObject
|
|||||||
var $date_m;
|
var $date_m;
|
||||||
public $fk_user_m;
|
public $fk_user_m;
|
||||||
public $fk_user_c;
|
public $fk_user_c;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string Ref
|
||||||
|
*/
|
||||||
public $ref;
|
public $ref;
|
||||||
|
|
||||||
var $cats=array();
|
var $cats=array();
|
||||||
|
|||||||
@ -48,7 +48,11 @@ class EcmFiles extends CommonObject
|
|||||||
|
|
||||||
public $picto = 'generic';
|
public $picto = 'generic';
|
||||||
|
|
||||||
public $ref; // hash of file path
|
/**
|
||||||
|
* @var string Ref hash of file path
|
||||||
|
*/
|
||||||
|
public $ref;
|
||||||
|
|
||||||
public $label; // hash of file content (md5_file(dol_osencode($destfull))
|
public $label; // hash of file content (md5_file(dol_osencode($destfull))
|
||||||
public $share; // hash for file sharing, empty by default (example: getRandomPassword(true))
|
public $share; // hash for file sharing, empty by default (example: getRandomPassword(true))
|
||||||
|
|
||||||
|
|||||||
@ -73,7 +73,12 @@ class FactureFournisseur extends CommonInvoice
|
|||||||
protected $table_ref_field = 'ref';
|
protected $table_ref_field = 'ref';
|
||||||
|
|
||||||
public $rowid;
|
public $rowid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string Ref
|
||||||
|
*/
|
||||||
public $ref;
|
public $ref;
|
||||||
|
|
||||||
public $product_ref;
|
public $product_ref;
|
||||||
public $ref_supplier;
|
public $ref_supplier;
|
||||||
public $socid;
|
public $socid;
|
||||||
|
|||||||
@ -44,7 +44,12 @@ class Establishment extends CommonObject
|
|||||||
public $picto='building';
|
public $picto='building';
|
||||||
|
|
||||||
public $id;
|
public $id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string Ref
|
||||||
|
*/
|
||||||
public $ref;
|
public $ref;
|
||||||
|
|
||||||
public $rowid;
|
public $rowid;
|
||||||
|
|
||||||
public $name;
|
public $name;
|
||||||
|
|||||||
@ -102,6 +102,10 @@ class MyObject extends CommonObject
|
|||||||
);
|
);
|
||||||
|
|
||||||
public $rowid;
|
public $rowid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string Ref
|
||||||
|
*/
|
||||||
public $ref;
|
public $ref;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -100,6 +100,10 @@ class Inventory extends CommonObject
|
|||||||
);
|
);
|
||||||
|
|
||||||
public $rowid;
|
public $rowid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string Ref
|
||||||
|
*/
|
||||||
public $ref;
|
public $ref;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -377,7 +377,11 @@ class Societe extends CommonObject
|
|||||||
*/
|
*/
|
||||||
public $default_lang;
|
public $default_lang;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string Ref
|
||||||
|
*/
|
||||||
public $ref;
|
public $ref;
|
||||||
|
|
||||||
public $ref_int;
|
public $ref_int;
|
||||||
/**
|
/**
|
||||||
* External user reference.
|
* External user reference.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user