From 198cf4af2fe0f7c5fff92f3385e48b51d1bb33b6 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 18 Mar 2019 10:06:22 +0100 Subject: [PATCH 1/7] add comments --- htdocs/comm/action/class/actioncomm.class.php | 34 +++++++++++++++---- 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/htdocs/comm/action/class/actioncomm.class.php b/htdocs/comm/action/class/actioncomm.class.php index ab3a07f2192..8f80f4755f4 100644 --- a/htdocs/comm/action/class/actioncomm.class.php +++ b/htdocs/comm/action/class/actioncomm.class.php @@ -87,9 +87,20 @@ class ActionComm extends CommonObject * @var string Agenda event label */ public $label; - - public $datec; // Date creation record (datec) - public $datem; // Date modification record (tms) + + /** + * Date creation record (datec) + * + * @var DateTime + */ + public $datec; + + /** + * Date modification record (tms) + * + * @var DateTime + */ + public $datem; /** * Object user that create action @@ -118,9 +129,20 @@ class ActionComm extends CommonObject * @var int */ public $usermodid; - - public $datep; // Date action start (datep) - public $datef; // Date action end (datep2) + + /** + * Date action start (datep) + * + * @var DateTime + */ + public $datep; + + /** + * Date action end (datep2) + * + * @var DateTime + */ + public $datep2; /** * @var int -1=Unkown duration From c98f3ae4b36ebdd8ce8296b5b81dd6d095d6a287 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 18 Mar 2019 10:20:24 +0100 Subject: [PATCH 2/7] add comments --- htdocs/accountancy/class/accountingaccount.class.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/htdocs/accountancy/class/accountingaccount.class.php b/htdocs/accountancy/class/accountingaccount.class.php index f184d30699f..73c146c822b 100644 --- a/htdocs/accountancy/class/accountingaccount.class.php +++ b/htdocs/accountancy/class/accountingaccount.class.php @@ -74,9 +74,11 @@ class AccountingAccount extends CommonObject public $rowid; /** - * @var string Creation date + * Date creation record (datec) + * + * @var DateTime */ - public $datec; + public $datec; /** * @var string pcg version From 905f7cf8dd006a425ba4f87f210d3e73430ca63f Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 18 Mar 2019 10:22:20 +0100 Subject: [PATCH 3/7] add comments --- htdocs/adherents/class/adherent.class.php | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/htdocs/adherents/class/adherent.class.php b/htdocs/adherents/class/adherent.class.php index 9a84782e920..082ae43be6d 100644 --- a/htdocs/adherents/class/adherent.class.php +++ b/htdocs/adherents/class/adherent.class.php @@ -176,8 +176,20 @@ class Adherent extends CommonObject public $photo; - public $datec; - public $datem; + /** + * Date creation record (datec) + * + * @var DateTime + */ + public $datec; + + /** + * Date modification record (tms) + * + * @var DateTime + */ + public $datem; + public $datevalid; public $gender; From 609dc5360bd9e04997ec47dd81c63df962184b21 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Mon, 18 Mar 2019 12:19:56 +0100 Subject: [PATCH 4/7] add comments --- htdocs/adherents/class/subscription.class.php | 31 ++++++++++++++++--- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/htdocs/adherents/class/subscription.class.php b/htdocs/adherents/class/subscription.class.php index 52cb8e05bbd..236a118ab4b 100644 --- a/htdocs/adherents/class/subscription.class.php +++ b/htdocs/adherents/class/subscription.class.php @@ -47,10 +47,33 @@ class Subscription extends CommonObject */ public $picto='payment'; - public $datec; // Date creation - public $datem; // Date modification - public $dateh; // Subscription start date (date subscription) - public $datef; // Subscription end date + /** + * Date creation record (datec) + * + * @var integer + */ + public $datec; + + /** + * Date modification record (tms) + * + * @var integer + */ + public $datem; + + /** + * Subscription start date (date subscription) + * + * @var integer + */ + public $dateh; + + /** + * Subscription end date + * + * @var integer + */ + public $datef; /** * @var int ID From 794290354871157eca92d3009d0dc49d12f49139 Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Mon, 18 Mar 2019 12:24:16 +0100 Subject: [PATCH 5/7] Update actioncomm.class.php --- htdocs/comm/action/class/actioncomm.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/comm/action/class/actioncomm.class.php b/htdocs/comm/action/class/actioncomm.class.php index 8f80f4755f4..9917736bdc8 100644 --- a/htdocs/comm/action/class/actioncomm.class.php +++ b/htdocs/comm/action/class/actioncomm.class.php @@ -91,14 +91,14 @@ class ActionComm extends CommonObject /** * Date creation record (datec) * - * @var DateTime + * @var integer */ public $datec; /** * Date modification record (tms) * - * @var DateTime + * @var integer */ public $datem; @@ -133,14 +133,14 @@ class ActionComm extends CommonObject /** * Date action start (datep) * - * @var DateTime + * @var integer */ public $datep; /** * Date action end (datep2) * - * @var DateTime + * @var integer */ public $datep2; From 2a91629e57a8a5e6bf856d9c3aeededd108174eb Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Mon, 18 Mar 2019 12:24:52 +0100 Subject: [PATCH 6/7] Update accountingaccount.class.php --- htdocs/accountancy/class/accountingaccount.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/accountancy/class/accountingaccount.class.php b/htdocs/accountancy/class/accountingaccount.class.php index 73c146c822b..f214a3f3570 100644 --- a/htdocs/accountancy/class/accountingaccount.class.php +++ b/htdocs/accountancy/class/accountingaccount.class.php @@ -76,7 +76,7 @@ class AccountingAccount extends CommonObject /** * Date creation record (datec) * - * @var DateTime + * @var integer */ public $datec; From 4935aa2fe41bf522c5d02f227354b399d65501ef Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Mon, 18 Mar 2019 12:25:35 +0100 Subject: [PATCH 7/7] Update adherent.class.php --- htdocs/adherents/class/adherent.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/adherents/class/adherent.class.php b/htdocs/adherents/class/adherent.class.php index 082ae43be6d..201b6610817 100644 --- a/htdocs/adherents/class/adherent.class.php +++ b/htdocs/adherents/class/adherent.class.php @@ -179,14 +179,14 @@ class Adherent extends CommonObject /** * Date creation record (datec) * - * @var DateTime + * @var integer */ public $datec; /** * Date modification record (tms) * - * @var DateTime + * @var integer */ public $datem;