Standardize code

This commit is contained in:
Philippe GRAND 2018-10-06 12:11:48 +02:00
parent dd9af92020
commit 83db36f9b2
5 changed files with 39 additions and 14 deletions

View File

@ -44,7 +44,11 @@ class AssetType extends CommonObject
*/ */
public $picto = 'group'; public $picto = 'group';
public $ismultientitymanaged = 1; // 0=No test on entity, 1=Test with field entity, 2=Test with link by societe /**
* 0=No test on entity, 1=Test with field entity, 2=Test with link by societe
* @var int
*/
public $ismultientitymanaged = 1;
/** /**
* @var string Asset type label * @var string Asset type label

View File

@ -38,7 +38,11 @@ class Bookmark extends CommonObject
*/ */
public $table_element='bookmark'; public $table_element='bookmark';
public $ismultientitymanaged = 1; // 0=No test on entity, 1=Test with field entity, 2=Test with link by societe /**
* 0=No test on entity, 1=Test with field entity, 2=Test with link by societe
* @var int
*/
public $ismultientitymanaged = 1;
/** /**
* @var string String with name of icon for myobject. Must be the part after the 'object_' into object_myobject.png * @var string String with name of icon for myobject. Must be the part after the 'object_' into object_myobject.png
@ -61,10 +65,15 @@ class Bookmark extends CommonObject
public $fk_user; public $fk_user;
public $datec; public $datec;
public $url; public $url;
public $target; // 0=replace, 1=new window public $target; // 0=replace, 1=new window
public $title; public $title;
public $position; public $position;
public $favicon; public $favicon;

View File

@ -51,7 +51,11 @@ class Deplacement extends CommonObject
*/ */
public $fk_element = ''; public $fk_element = '';
public $ismultientitymanaged = 0; // 0=No test on entity, 1=Test with field entity, 2=Test with link by societe /**
* 0=No test on entity, 1=Test with field entity, 2=Test with link by societe
* @var int
*/
public $ismultientitymanaged = 0;
public $datec; // Creation date public $datec; // Creation date
public $dated; public $dated;

View File

@ -47,7 +47,11 @@ class Contact extends CommonObject
*/ */
public $table_element='socpeople'; public $table_element='socpeople';
public $ismultientitymanaged = 1; // 0=No test on entity, 1=Test with field entity, 2=Test with link by societe /**
* 0=No test on entity, 1=Test with field entity, 2=Test with link by societe
* @var int
*/
public $ismultientitymanaged = 1;
/** /**
* @var string String with name of icon for myobject. Must be the part after the 'object_' into object_myobject.png * @var string String with name of icon for myobject. Must be the part after the 'object_' into object_myobject.png

View File

@ -48,7 +48,11 @@ class Fiscalyear extends CommonObject
*/ */
public $fk_element = ''; public $fk_element = '';
public $ismultientitymanaged = 1; // 0=No test on entity, 1=Test with field entity, 2=Test with link by societe /**
* 0=No test on entity, 1=Test with field entity, 2=Test with link by societe
* @var int
*/
public $ismultientitymanaged = 1;
/** /**
* @var int ID * @var int ID