Standardize and update code

This commit is contained in:
Philippe GRAND 2018-08-31 19:26:08 +02:00
parent bb05e80a87
commit 3a8bde227b
20 changed files with 144 additions and 52 deletions

View File

@ -111,7 +111,12 @@ class Asset extends CommonObject
public $amount; public $amount;
public $fk_soc; public $fk_soc;
/**
* @var string description
*/
public $description; public $description;
public $note_public; public $note_public;
public $note_private; public $note_private;
public $date_creation; public $date_creation;

View File

@ -161,11 +161,15 @@ class Categorie extends CommonObject
public $fk_parent; public $fk_parent;
/** /**
* @var string proper name for given parameter * @var string proper name for given parameter
*/ */
public $label; public $label;
/**
* @var string description
*/
public $description; public $description;
/** /**
* @var string Color * @var string Color
*/ */

View File

@ -2498,7 +2498,10 @@ class ContratLigne extends CommonObjectLine
*/ */
public $libelle; public $libelle;
var $description; /**
* @var string description
*/
public $description;
var $product_ref; var $product_ref;
var $product_label; var $product_label;

View File

@ -34,6 +34,9 @@ class Comment extends CommonObject
public $fk_element; public $fk_element;
public $element_type; public $element_type;
/**
* @var string description
*/
public $description; public $description;
public $tms; public $tms;

View File

@ -51,7 +51,11 @@ class DiscountAbsolute
*/ */
public $fk_user; public $fk_user;
public $description; // Description libre /**
* @var string description
*/
public $description;
public $datec; // Date creation public $datec; // Date creation
public $fk_facture_line; // Id invoice line when a discount is used into an invoice line (for absolute discounts) public $fk_facture_line; // Id invoice line when a discount is used into an invoice line (for absolute discounts)
public $fk_facture; // Id invoice when a discount line is used into an invoice (for credit note) public $fk_facture; // Id invoice when a discount line is used into an invoice (for credit note)

View File

@ -63,7 +63,11 @@ class Events // extends CommonObject
var $type; var $type;
var $entity; var $entity;
var $dateevent; var $dateevent;
var $description;
/**
* @var string description
*/
public $description;
// List of all Audit/Security events supported by triggers // List of all Audit/Security events supported by triggers
var $eventstolog=array( var $eventstolog=array(

View File

@ -40,7 +40,11 @@ class CommActionRapport
*/ */
public $db; public $db;
var $description; /**
* @var string description
*/
public $description;
var $date_edition; var $date_edition;
var $year; var $year;
var $month; var $month;

View File

@ -50,7 +50,12 @@ class EcmDirectory // extends CommonObject
public $label; public $label;
var $fk_parent; var $fk_parent;
var $description;
/**
* @var string description
*/
public $description;
var $cachenbofdoc=-1; // By default cache initialized with value 'not calculated' var $cachenbofdoc=-1; // By default cache initialized with value 'not calculated'
var $date_c; var $date_c;
var $date_m; var $date_m;

View File

@ -64,7 +64,12 @@ class EcmFiles extends CommonObject
public $filename; public $filename;
public $filepath; public $filepath;
public $fullpath_orig; public $fullpath_orig;
/**
* @var string description
*/
public $description; public $description;
public $keywords; public $keywords;
public $cover; public $cover;
public $position; public $position;
@ -848,7 +853,12 @@ class EcmfilesLine
public $filename; public $filename;
public $filepath; public $filepath;
public $fullpath_orig; public $fullpath_orig;
/**
* @var string description
*/
public $description; public $description;
public $keywords; public $keywords;
public $cover; public $cover;
public $position; public $position;

View File

@ -65,7 +65,12 @@ class Fichinter extends CommonObject
var $datem; var $datem;
var $duration; var $duration;
var $statut = 0; // 0=draft, 1=validated, 2=invoiced, 3=Terminate var $statut = 0; // 0=draft, 1=validated, 2=invoiced, 3=Terminate
var $description;
/**
* @var string description
*/
public $description;
var $fk_contrat = 0; var $fk_contrat = 0;
var $fk_project = 0; var $fk_project = 0;
var $extraparams=array(); var $extraparams=array();

View File

@ -58,7 +58,12 @@ class Holiday extends CommonObject
public $fk_user; public $fk_user;
var $date_create=''; var $date_create='';
var $description;
/**
* @var string description
*/
public $description;
var $date_debut=''; // Date start in PHP server TZ var $date_debut=''; // Date start in PHP server TZ
var $date_fin=''; // Date end in PHP server TZ var $date_fin=''; // Date end in PHP server TZ
var $date_debut_gmt=''; // Date start in GMT var $date_debut_gmt=''; // Date start in GMT

View File

@ -1084,7 +1084,11 @@ class LivraisonLigne extends CommonObjectLine
*/ */
public $label; public $label;
var $description; // Description produit /**
* @var string description produit
*/
public $description;
/** /**
* @deprecated * @deprecated
* @see product_ref * @see product_ref

View File

@ -52,6 +52,10 @@ class Opensurveysondage extends CommonObject
* @see description * @see description
*/ */
public $commentaires; public $commentaires;
/**
* @var string description
*/
public $description; public $description;
public $mail_admin; public $mail_admin;

View File

@ -50,7 +50,12 @@ class PriceGlobalVariable
public $id; public $id;
var $code; var $code;
var $description;
/**
* @var string description
*/
public $description;
var $value; var $value;
/** /**

View File

@ -53,7 +53,12 @@ class PriceGlobalVariableUpdater
public $id; public $id;
var $type; var $type;
var $description;
/**
* @var string description
*/
public $description;
var $parameters; var $parameters;
var $fk_variable; var $fk_variable;
var $update_interval; //!< Interval in mins var $update_interval; //!< Interval in mins

View File

@ -61,7 +61,12 @@ class Entrepot extends CommonObject
const STATUS_OPEN_INTERNAL = 2; const STATUS_OPEN_INTERNAL = 2;
var $libelle; var $libelle;
var $description;
/**
* @var string description
*/
public $description;
var $statut; var $statut;
var $lieu; var $lieu;
var $address; var $address;

View File

@ -53,7 +53,11 @@ class Project extends CommonObject
*/ */
protected $table_ref_field = 'ref'; protected $table_ref_field = 'ref';
var $description; /**
* @var string description
*/
public $description;
/** /**
* @var string * @var string
* @deprecated * @deprecated

View File

@ -52,7 +52,11 @@ class Task extends CommonObject
*/ */
public $label; public $label;
var $description; /**
* @var string description
*/
public $description;
var $duration_effective; // total of time spent on this task var $duration_effective; // total of time spent on this task
var $planned_workload; var $planned_workload;
var $date_c; var $date_c;

View File

@ -61,7 +61,11 @@ class ActionsTicket
public $template; public $template;
public $label; public $label;
public $description;
/**
* @var string description
*/
public $description;
public $fk_statut; public $fk_statut;
public $fk_soc; public $fk_soc;

View File

@ -55,7 +55,12 @@ class WebsitePage extends CommonObject
public $aliasalt; public $aliasalt;
public $type_container; public $type_container;
public $title; public $title;
/**
* @var string description
*/
public $description; public $description;
public $keywords; public $keywords;
public $htmlheader; public $htmlheader;
public $content; public $content;