diff --git a/src/includes/class/class.LSattr_html.php b/src/includes/class/class.LSattr_html.php
index 37ae1ab5..d34fa305 100644
--- a/src/includes/class/class.LSattr_html.php
+++ b/src/includes/class/class.LSattr_html.php
@@ -33,26 +33,26 @@ class LSattr_html extends LSlog_staticLoggerClass {
* The attribute name
* @var string
*/
- var string $name;
+ var $name;
/**
* Attribute configuration (LSobjects..attrs.)
* @var array
*/
- var array $config;
+ var $config;
/**
* The reference of the parent LSattribute object
* @var LSattribute
*/
- var LSattribute $attribute;
+ var $attribute;
/**
* The corresponding LSformElement object type
* Note: Must be set in implemented classes
* @var string
*/
- var string $LSformElement_type = '';
+ var $LSformElement_type = '';
/**
* If true, this LSattr_html type is considered as able to only support
@@ -61,7 +61,7 @@ class LSattr_html extends LSlog_staticLoggerClass {
* triggered.
* @var bool
*/
- protected bool $singleValue = false;
+ protected $singleValue = false;
/**
* Constructeur
diff --git a/src/includes/class/class.LSattr_html_boolean.php b/src/includes/class/class.LSattr_html_boolean.php
index f7034603..694947b7 100644
--- a/src/includes/class/class.LSattr_html_boolean.php
+++ b/src/includes/class/class.LSattr_html_boolean.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_boolean extends LSattr_html {
- var string $LSformElement_type = 'boolean';
+ var $LSformElement_type = 'boolean';
}
diff --git a/src/includes/class/class.LSattr_html_date.php b/src/includes/class/class.LSattr_html_date.php
index 1cf99de5..4f1162af 100644
--- a/src/includes/class/class.LSattr_html_date.php
+++ b/src/includes/class/class.LSattr_html_date.php
@@ -27,7 +27,7 @@
*/
class LSattr_html_date extends LSattr_html {
- var string $LSformElement_type = 'date';
+ var $LSformElement_type = 'date';
/**
* Ajoute l'attribut au formualaire passer en paramètre
diff --git a/src/includes/class/class.LSattr_html_image.php b/src/includes/class/class.LSattr_html_image.php
index f0ddded0..d1d6e90f 100644
--- a/src/includes/class/class.LSattr_html_image.php
+++ b/src/includes/class/class.LSattr_html_image.php
@@ -27,7 +27,7 @@
*/
class LSattr_html_image extends LSattr_html {
- var string $LSformElement_type = 'image';
- protected bool $singleValue = true;
+ var $LSformElement_type = 'image';
+ protected $singleValue = true;
}
diff --git a/src/includes/class/class.LSattr_html_jsonCompositeAttribute.php b/src/includes/class/class.LSattr_html_jsonCompositeAttribute.php
index 959fb856..4b87ba62 100644
--- a/src/includes/class/class.LSattr_html_jsonCompositeAttribute.php
+++ b/src/includes/class/class.LSattr_html_jsonCompositeAttribute.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_jsonCompositeAttribute extends LSattr_html {
- var string $LSformElement_type = 'jsonCompositeAttribute';
+ var $LSformElement_type = 'jsonCompositeAttribute';
}
diff --git a/src/includes/class/class.LSattr_html_labeledValue.php b/src/includes/class/class.LSattr_html_labeledValue.php
index c314875a..a22e16f1 100644
--- a/src/includes/class/class.LSattr_html_labeledValue.php
+++ b/src/includes/class/class.LSattr_html_labeledValue.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_labeledValue extends LSattr_html {
- var string $LSformElement_type = 'labeledValue';
+ var $LSformElement_type = 'labeledValue';
}
diff --git a/src/includes/class/class.LSattr_html_mail.php b/src/includes/class/class.LSattr_html_mail.php
index 148f71a7..0d29809c 100644
--- a/src/includes/class/class.LSattr_html_mail.php
+++ b/src/includes/class/class.LSattr_html_mail.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_mail extends LSattr_html {
- var string $LSformElement_type = 'mail';
+ var $LSformElement_type = 'mail';
}
diff --git a/src/includes/class/class.LSattr_html_mailQuota.php b/src/includes/class/class.LSattr_html_mailQuota.php
index bc174379..d8e20dcb 100644
--- a/src/includes/class/class.LSattr_html_mailQuota.php
+++ b/src/includes/class/class.LSattr_html_mailQuota.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_mailQuota extends LSattr_html {
- var string $LSformElement_type = 'mailQuota';
+ var $LSformElement_type = 'mailQuota';
}
diff --git a/src/includes/class/class.LSattr_html_maildir.php b/src/includes/class/class.LSattr_html_maildir.php
index 76e24ae6..d6e3efe1 100644
--- a/src/includes/class/class.LSattr_html_maildir.php
+++ b/src/includes/class/class.LSattr_html_maildir.php
@@ -29,7 +29,7 @@ LSsession :: loadLSaddon('maildir');
*/
class LSattr_html_maildir extends LSattr_html {
- var string $LSformElement_type = 'maildir';
+ var $LSformElement_type = 'maildir';
/**
* Registered actions to do on object events
diff --git a/src/includes/class/class.LSattr_html_password.php b/src/includes/class/class.LSattr_html_password.php
index 80cd1a80..2f6e16d6 100644
--- a/src/includes/class/class.LSattr_html_password.php
+++ b/src/includes/class/class.LSattr_html_password.php
@@ -27,7 +27,7 @@
*/
class LSattr_html_password extends LSattr_html {
- var string $LSformElement_type = 'password';
- protected bool $singleValue = true;
+ var $LSformElement_type = 'password';
+ protected $singleValue = true;
}
diff --git a/src/includes/class/class.LSattr_html_postaladdress.php b/src/includes/class/class.LSattr_html_postaladdress.php
index ad1ad085..55ae8fe9 100644
--- a/src/includes/class/class.LSattr_html_postaladdress.php
+++ b/src/includes/class/class.LSattr_html_postaladdress.php
@@ -29,6 +29,6 @@ LSsession :: loadLSclass('LSattr_html_textarea');
*/
class LSattr_html_postaladdress extends LSattr_html_textarea {
- var string $LSformElement_type = 'postaladdress';
+ var $LSformElement_type = 'postaladdress';
}
diff --git a/src/includes/class/class.LSattr_html_pre.php b/src/includes/class/class.LSattr_html_pre.php
index 6b18b007..d76e6b6e 100644
--- a/src/includes/class/class.LSattr_html_pre.php
+++ b/src/includes/class/class.LSattr_html_pre.php
@@ -29,6 +29,6 @@ LSsession :: loadLSclass('LSattr_html_textarea');
*/
class LSattr_html_pre extends LSattr_html_textarea {
- var string $LSformElement_type = 'pre';
+ var $LSformElement_type = 'pre';
}
diff --git a/src/includes/class/class.LSattr_html_quota.php b/src/includes/class/class.LSattr_html_quota.php
index 7942680c..a169df45 100644
--- a/src/includes/class/class.LSattr_html_quota.php
+++ b/src/includes/class/class.LSattr_html_quota.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_quota extends LSattr_html {
- var string $LSformElement_type = 'quota';
+ var $LSformElement_type = 'quota';
}
diff --git a/src/includes/class/class.LSattr_html_rss.php b/src/includes/class/class.LSattr_html_rss.php
index 57750077..ce41737f 100644
--- a/src/includes/class/class.LSattr_html_rss.php
+++ b/src/includes/class/class.LSattr_html_rss.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_rss extends LSattr_html {
- var string $LSformElement_type = 'rss';
+ var $LSformElement_type = 'rss';
}
diff --git a/src/includes/class/class.LSattr_html_sambaAcctFlags.php b/src/includes/class/class.LSattr_html_sambaAcctFlags.php
index cc7b74be..ed29fa6a 100644
--- a/src/includes/class/class.LSattr_html_sambaAcctFlags.php
+++ b/src/includes/class/class.LSattr_html_sambaAcctFlags.php
@@ -27,7 +27,7 @@ LSsession :: loadLSclass('LSattr_html_select_box');
*/
class LSattr_html_sambaAcctFlags extends LSattr_html_select_box {
- var string $LSformElement_type = 'sambaAcctFlags';
+ var $LSformElement_type = 'sambaAcctFlags';
/**
* Retourne un tableau des valeurs possibles de la liste
diff --git a/src/includes/class/class.LSattr_html_select_box.php b/src/includes/class/class.LSattr_html_select_box.php
index d6e2b07d..b9f6fc0b 100644
--- a/src/includes/class/class.LSattr_html_select_box.php
+++ b/src/includes/class/class.LSattr_html_select_box.php
@@ -33,6 +33,6 @@ LSsession :: loadLSclass('LSattr_html_select_list');
*/
class LSattr_html_select_box extends LSattr_html_select_list {
- var string $LSformElement_type = 'select_box';
+ var $LSformElement_type = 'select_box';
}
diff --git a/src/includes/class/class.LSattr_html_select_list.php b/src/includes/class/class.LSattr_html_select_list.php
index 8db21e53..905c83e4 100644
--- a/src/includes/class/class.LSattr_html_select_list.php
+++ b/src/includes/class/class.LSattr_html_select_list.php
@@ -42,7 +42,7 @@
*/
class LSattr_html_select_list extends LSattr_html{
- var string $LSformElement_type = 'select';
+ var $LSformElement_type = 'select';
/**
* Ajoute l'attribut au formualaire passer en paramètre
diff --git a/src/includes/class/class.LSattr_html_select_object.php b/src/includes/class/class.LSattr_html_select_object.php
index f33041d8..29490b67 100644
--- a/src/includes/class/class.LSattr_html_select_object.php
+++ b/src/includes/class/class.LSattr_html_select_object.php
@@ -27,14 +27,14 @@
*/
class LSattr_html_select_object extends LSattr_html{
- var string $LSformElement_type = 'select_object';
+ var $LSformElement_type = 'select_object';
/**
* Array of unrecognized values
* @see LSattr_html_select_object::getFormValues()
* @var array
*/
- var array $unrecognizedValues = array();
+ var $unrecognizedValues = array();
/**
* Ajoute l'attribut au formualaire passer en paramètre
diff --git a/src/includes/class/class.LSattr_html_ssh_key.php b/src/includes/class/class.LSattr_html_ssh_key.php
index b10386e6..153d7f86 100644
--- a/src/includes/class/class.LSattr_html_ssh_key.php
+++ b/src/includes/class/class.LSattr_html_ssh_key.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_ssh_key extends LSattr_html {
- var string $LSformElement_type = 'ssh_key';
+ var $LSformElement_type = 'ssh_key';
}
diff --git a/src/includes/class/class.LSattr_html_supannActivite.php b/src/includes/class/class.LSattr_html_supannActivite.php
index 09cc42bf..144129e1 100644
--- a/src/includes/class/class.LSattr_html_supannActivite.php
+++ b/src/includes/class/class.LSattr_html_supannActivite.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_supannActivite extends LSattr_html {
- var string $LSformElement_type = 'supannActivite';
+ var $LSformElement_type = 'supannActivite';
}
diff --git a/src/includes/class/class.LSattr_html_supannAdressePostalePrivee.php b/src/includes/class/class.LSattr_html_supannAdressePostalePrivee.php
index b06141c1..8b51edf2 100644
--- a/src/includes/class/class.LSattr_html_supannAdressePostalePrivee.php
+++ b/src/includes/class/class.LSattr_html_supannAdressePostalePrivee.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_supannAdressePostalePrivee extends LSattr_html {
- var string $LSformElement_type = 'supannAdressePostalePrivee';
+ var $LSformElement_type = 'supannAdressePostalePrivee';
}
diff --git a/src/includes/class/class.LSattr_html_supannCodePopulation.php b/src/includes/class/class.LSattr_html_supannCodePopulation.php
index 8d311a69..ffc9b99b 100644
--- a/src/includes/class/class.LSattr_html_supannCodePopulation.php
+++ b/src/includes/class/class.LSattr_html_supannCodePopulation.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_supannCodePopulation extends LSattr_html {
- var string $LSformElement_type = 'supannCodePopulation';
+ var $LSformElement_type = 'supannCodePopulation';
}
diff --git a/src/includes/class/class.LSattr_html_supannEmpCorps.php b/src/includes/class/class.LSattr_html_supannEmpCorps.php
index 7946aeb7..839f1307 100644
--- a/src/includes/class/class.LSattr_html_supannEmpCorps.php
+++ b/src/includes/class/class.LSattr_html_supannEmpCorps.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_supannEmpCorps extends LSattr_html {
- var string $LSformElement_type = 'supannEmpCorps';
+ var $LSformElement_type = 'supannEmpCorps';
}
diff --git a/src/includes/class/class.LSattr_html_supannEmpProfil.php b/src/includes/class/class.LSattr_html_supannEmpProfil.php
index cbfe73f9..e11a2a0a 100644
--- a/src/includes/class/class.LSattr_html_supannEmpProfil.php
+++ b/src/includes/class/class.LSattr_html_supannEmpProfil.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_supannEmpProfil extends LSattr_html {
- var string $LSformElement_type = 'supannEmpProfil';
+ var $LSformElement_type = 'supannEmpProfil';
}
diff --git a/src/includes/class/class.LSattr_html_supannEtablissement.php b/src/includes/class/class.LSattr_html_supannEtablissement.php
index fa46ed11..91411313 100644
--- a/src/includes/class/class.LSattr_html_supannEtablissement.php
+++ b/src/includes/class/class.LSattr_html_supannEtablissement.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_supannEtablissement extends LSattr_html {
- var string $LSformElement_type = 'supannEtablissement';
+ var $LSformElement_type = 'supannEtablissement';
}
diff --git a/src/includes/class/class.LSattr_html_supannEtuDiplome.php b/src/includes/class/class.LSattr_html_supannEtuDiplome.php
index aafb835a..e078e93d 100644
--- a/src/includes/class/class.LSattr_html_supannEtuDiplome.php
+++ b/src/includes/class/class.LSattr_html_supannEtuDiplome.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_supannEtuDiplome extends LSattr_html {
- var string $LSformElement_type = 'supannEtuDiplome';
+ var $LSformElement_type = 'supannEtuDiplome';
}
diff --git a/src/includes/class/class.LSattr_html_supannEtuElementPedagogique.php b/src/includes/class/class.LSattr_html_supannEtuElementPedagogique.php
index 4ccd11ad..245ef50f 100644
--- a/src/includes/class/class.LSattr_html_supannEtuElementPedagogique.php
+++ b/src/includes/class/class.LSattr_html_supannEtuElementPedagogique.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_supannEtuElementPedagogique extends LSattr_html {
- var string $LSformElement_type = 'supannEtuElementPedagogique';
+ var $LSformElement_type = 'supannEtuElementPedagogique';
}
diff --git a/src/includes/class/class.LSattr_html_supannEtuEtape.php b/src/includes/class/class.LSattr_html_supannEtuEtape.php
index b40de4b9..2f55e6ea 100644
--- a/src/includes/class/class.LSattr_html_supannEtuEtape.php
+++ b/src/includes/class/class.LSattr_html_supannEtuEtape.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_supannEtuEtape extends LSattr_html {
- var string $LSformElement_type = 'supannEtuEtape';
+ var $LSformElement_type = 'supannEtuEtape';
}
diff --git a/src/includes/class/class.LSattr_html_supannEtuInscription.php b/src/includes/class/class.LSattr_html_supannEtuInscription.php
index b1cc28ed..d2713583 100644
--- a/src/includes/class/class.LSattr_html_supannEtuInscription.php
+++ b/src/includes/class/class.LSattr_html_supannEtuInscription.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_supannEtuInscription extends LSattr_html {
- var string $LSformElement_type = 'supannEtuInscription';
+ var $LSformElement_type = 'supannEtuInscription';
}
diff --git a/src/includes/class/class.LSattr_html_supannEtuRegimeInscription.php b/src/includes/class/class.LSattr_html_supannEtuRegimeInscription.php
index 28e9a3a2..0ce8f915 100644
--- a/src/includes/class/class.LSattr_html_supannEtuRegimeInscription.php
+++ b/src/includes/class/class.LSattr_html_supannEtuRegimeInscription.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_supannEtuRegimeInscription extends LSattr_html {
- var string $LSformElement_type = 'supannEtuRegimeInscription';
+ var $LSformElement_type = 'supannEtuRegimeInscription';
}
diff --git a/src/includes/class/class.LSattr_html_supannEtuSecteurDisciplinaire.php b/src/includes/class/class.LSattr_html_supannEtuSecteurDisciplinaire.php
index e714516e..118b0edb 100644
--- a/src/includes/class/class.LSattr_html_supannEtuSecteurDisciplinaire.php
+++ b/src/includes/class/class.LSattr_html_supannEtuSecteurDisciplinaire.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_supannEtuSecteurDisciplinaire extends LSattr_html {
- var string $LSformElement_type = 'supannEtuSecteurDisciplinaire';
+ var $LSformElement_type = 'supannEtuSecteurDisciplinaire';
}
diff --git a/src/includes/class/class.LSattr_html_supannEtuTypeDiplome.php b/src/includes/class/class.LSattr_html_supannEtuTypeDiplome.php
index ced79697..ac9e9d15 100644
--- a/src/includes/class/class.LSattr_html_supannEtuTypeDiplome.php
+++ b/src/includes/class/class.LSattr_html_supannEtuTypeDiplome.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_supannEtuTypeDiplome extends LSattr_html {
- var string $LSformElement_type = 'supannEtuTypeDiplome';
+ var $LSformElement_type = 'supannEtuTypeDiplome';
}
diff --git a/src/includes/class/class.LSattr_html_supannExtProfil.php b/src/includes/class/class.LSattr_html_supannExtProfil.php
index 736c0109..587344ed 100644
--- a/src/includes/class/class.LSattr_html_supannExtProfil.php
+++ b/src/includes/class/class.LSattr_html_supannExtProfil.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_supannExtProfil extends LSattr_html {
- var string $LSformElement_type = 'supannExtProfil';
+ var $LSformElement_type = 'supannExtProfil';
}
diff --git a/src/includes/class/class.LSattr_html_supannLabeledValue.php b/src/includes/class/class.LSattr_html_supannLabeledValue.php
index 6b9f2e88..bf8313b1 100644
--- a/src/includes/class/class.LSattr_html_supannLabeledValue.php
+++ b/src/includes/class/class.LSattr_html_supannLabeledValue.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_supannLabeledValue extends LSattr_html {
- var string $LSformElement_type = 'supannLabeledValue';
+ var $LSformElement_type = 'supannLabeledValue';
}
diff --git a/src/includes/class/class.LSattr_html_supannMailPrive.php b/src/includes/class/class.LSattr_html_supannMailPrive.php
index 2fa2ff1f..e232aec3 100644
--- a/src/includes/class/class.LSattr_html_supannMailPrive.php
+++ b/src/includes/class/class.LSattr_html_supannMailPrive.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_supannMailPrive extends LSattr_html {
- var string $LSformElement_type = 'supannMailPrive';
+ var $LSformElement_type = 'supannMailPrive';
}
diff --git a/src/includes/class/class.LSattr_html_supannRessourceEtat.php b/src/includes/class/class.LSattr_html_supannRessourceEtat.php
index e6969691..6e0a24bb 100644
--- a/src/includes/class/class.LSattr_html_supannRessourceEtat.php
+++ b/src/includes/class/class.LSattr_html_supannRessourceEtat.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_supannRessourceEtat extends LSattr_html {
- var string $LSformElement_type = 'supannRessourceEtat';
+ var $LSformElement_type = 'supannRessourceEtat';
}
diff --git a/src/includes/class/class.LSattr_html_supannRessourceEtatDate.php b/src/includes/class/class.LSattr_html_supannRessourceEtatDate.php
index f870f6b8..66550a8c 100644
--- a/src/includes/class/class.LSattr_html_supannRessourceEtatDate.php
+++ b/src/includes/class/class.LSattr_html_supannRessourceEtatDate.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_supannRessourceEtatDate extends LSattr_html {
- var string $LSformElement_type = 'supannRessourceEtatDate';
+ var $LSformElement_type = 'supannRessourceEtatDate';
}
diff --git a/src/includes/class/class.LSattr_html_supannRoleEntite.php b/src/includes/class/class.LSattr_html_supannRoleEntite.php
index 98d45ecd..78bd1c5f 100644
--- a/src/includes/class/class.LSattr_html_supannRoleEntite.php
+++ b/src/includes/class/class.LSattr_html_supannRoleEntite.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_supannRoleEntite extends LSattr_html {
- var string $LSformElement_type = 'supannRoleEntite';
+ var $LSformElement_type = 'supannRoleEntite';
}
diff --git a/src/includes/class/class.LSattr_html_supannRoleGenerique.php b/src/includes/class/class.LSattr_html_supannRoleGenerique.php
index 4d13643d..8e3c4bad 100644
--- a/src/includes/class/class.LSattr_html_supannRoleGenerique.php
+++ b/src/includes/class/class.LSattr_html_supannRoleGenerique.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_supannRoleGenerique extends LSattr_html {
- var string $LSformElement_type = 'supannRoleGenerique';
+ var $LSformElement_type = 'supannRoleGenerique';
}
diff --git a/src/includes/class/class.LSattr_html_supannTelephonePrive.php b/src/includes/class/class.LSattr_html_supannTelephonePrive.php
index 91e0545c..64a76dac 100644
--- a/src/includes/class/class.LSattr_html_supannTelephonePrive.php
+++ b/src/includes/class/class.LSattr_html_supannTelephonePrive.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_supannTelephonePrive extends LSattr_html {
- var string $LSformElement_type = 'supannTelephonePrive';
+ var $LSformElement_type = 'supannTelephonePrive';
}
diff --git a/src/includes/class/class.LSattr_html_supannTypeEntite.php b/src/includes/class/class.LSattr_html_supannTypeEntite.php
index ee9dfa31..b175ca65 100644
--- a/src/includes/class/class.LSattr_html_supannTypeEntite.php
+++ b/src/includes/class/class.LSattr_html_supannTypeEntite.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_supannTypeEntite extends LSattr_html {
- var string $LSformElement_type = 'supannTypeEntite';
+ var $LSformElement_type = 'supannTypeEntite';
}
diff --git a/src/includes/class/class.LSattr_html_tel.php b/src/includes/class/class.LSattr_html_tel.php
index f870f55d..fe5d79b0 100644
--- a/src/includes/class/class.LSattr_html_tel.php
+++ b/src/includes/class/class.LSattr_html_tel.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_tel extends LSattr_html {
- var string $LSformElement_type = 'tel';
+ var $LSformElement_type = 'tel';
}
diff --git a/src/includes/class/class.LSattr_html_text.php b/src/includes/class/class.LSattr_html_text.php
index 738040a5..9e993b65 100644
--- a/src/includes/class/class.LSattr_html_text.php
+++ b/src/includes/class/class.LSattr_html_text.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_text extends LSattr_html {
- var string $LSformElement_type = 'text';
+ var $LSformElement_type = 'text';
}
diff --git a/src/includes/class/class.LSattr_html_textarea.php b/src/includes/class/class.LSattr_html_textarea.php
index 27c7062c..72fbccc8 100644
--- a/src/includes/class/class.LSattr_html_textarea.php
+++ b/src/includes/class/class.LSattr_html_textarea.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_textarea extends LSattr_html {
- var string $LSformElement_type = 'textarea';
+ var $LSformElement_type = 'textarea';
}
diff --git a/src/includes/class/class.LSattr_html_url.php b/src/includes/class/class.LSattr_html_url.php
index 17671dc8..31aeb80a 100644
--- a/src/includes/class/class.LSattr_html_url.php
+++ b/src/includes/class/class.LSattr_html_url.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_url extends LSattr_html {
- var string $LSformElement_type = 'url';
+ var $LSformElement_type = 'url';
}
diff --git a/src/includes/class/class.LSattr_html_valueWithUnit.php b/src/includes/class/class.LSattr_html_valueWithUnit.php
index 3b7004df..a06e7921 100644
--- a/src/includes/class/class.LSattr_html_valueWithUnit.php
+++ b/src/includes/class/class.LSattr_html_valueWithUnit.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_valueWithUnit extends LSattr_html {
- var string $LSformElement_type = 'valueWithUnit';
+ var $LSformElement_type = 'valueWithUnit';
}
diff --git a/src/includes/class/class.LSattr_html_wysiwyg.php b/src/includes/class/class.LSattr_html_wysiwyg.php
index 196da319..45629717 100644
--- a/src/includes/class/class.LSattr_html_wysiwyg.php
+++ b/src/includes/class/class.LSattr_html_wysiwyg.php
@@ -29,6 +29,6 @@ LSsession :: loadLSclass('LSattr_html_textarea');
*/
class LSattr_html_wysiwyg extends LSattr_html_textarea {
- var string $LSformElement_type = 'wysiwyg';
+ var $LSformElement_type = 'wysiwyg';
}
diff --git a/src/includes/class/class.LSattr_html_xmpp.php b/src/includes/class/class.LSattr_html_xmpp.php
index bdcc7936..8add37c3 100644
--- a/src/includes/class/class.LSattr_html_xmpp.php
+++ b/src/includes/class/class.LSattr_html_xmpp.php
@@ -27,6 +27,6 @@
*/
class LSattr_html_xmpp extends LSattr_html {
- var string $LSformElement_type = 'xmpp';
+ var $LSformElement_type = 'xmpp';
}
diff --git a/src/includes/class/class.LSattr_ldap.php b/src/includes/class/class.LSattr_ldap.php
index c170e577..918ba398 100644
--- a/src/includes/class/class.LSattr_ldap.php
+++ b/src/includes/class/class.LSattr_ldap.php
@@ -33,19 +33,19 @@ class LSattr_ldap extends LSlog_staticLoggerClass {
* LDAP attribute name
* @var string
*/
- var string $name;
+ var $name;
/**
* Attribute configuration (LSobjects..attrs.)
* @var array
*/
- var array $config;
+ var $config;
/**
* The reference of the parent LSattribute object
* @var LSattribute
*/
- var LSattribute $attribute;
+ var $attribute;
/**
* Constructeur
diff --git a/src/includes/class/class.LSattr_ldap_password.php b/src/includes/class/class.LSattr_ldap_password.php
index 3baa0b27..ced8516c 100644
--- a/src/includes/class/class.LSattr_ldap_password.php
+++ b/src/includes/class/class.LSattr_ldap_password.php
@@ -32,7 +32,7 @@ class LSattr_ldap_password extends LSattr_ldap {
* @see LSattr_ldap_password::getClearPassword()
* @var string
*/
- private string $clearPassword = '';
+ private $clearPassword = '';
/**
* Return the display value of this attribute
diff --git a/src/includes/class/class.LSattribute.php b/src/includes/class/class.LSattribute.php
index 78696cc4..cffc6360 100644
--- a/src/includes/class/class.LSattribute.php
+++ b/src/includes/class/class.LSattribute.php
@@ -37,39 +37,39 @@ class LSattribute extends LSlog_staticLoggerClass {
* Attribute name
* @var string
*/
- var string $name;
+ var $name;
/**
* Attribute configuration (LSobjects..attrs.)
* @var array
*/
- var array $config;
+ var $config;
/**
* The reference of the parent LSldapObject object
* @var LSldapObject
*/
- var LSldapObject $ldapObject;
+ var $ldapObject;
/**
* The implemented LSattr_ldap object
* @see LSattribute::__construct()
* @var LSattr_ldap
*/
- var LSattr_ldap $ldap;
+ var $ldap;
/**
* The implemented LSattr_ldap object
* @see LSattribute::__construct()
* @var LSattr_html
*/
- var LSattr_html $html;
+ var $html;
/**
* Attribute data
* @var array
*/
- var array $data = array();
+ var $data = array();
/**
* Attribute updated data
@@ -89,14 +89,14 @@ class LSattribute extends LSlog_staticLoggerClass {
* @see LSattribute::reloadData()
* @var bool
*/
- var bool $is_validate=false;
+ var $is_validate=false;
/**
* Cache of the validated new attribute data
* @see LSattribute::getUpdateData()
* @var array
*/
- var array $_finalUpdateData=array();
+ var $_finalUpdateData=array();
/**
* Cache of the current connected user right on this attribute
@@ -111,7 +111,7 @@ class LSattribute extends LSlog_staticLoggerClass {
* @see LSattribute::fireEvent()
* @var array
*/
- var array $_events=array();
+ var $_events=array();
/**
* Object registered hooks on event trigger object methods
@@ -119,7 +119,7 @@ class LSattribute extends LSlog_staticLoggerClass {
* @see LSattribute::fireEvent()
* @var array
*/
- var array $_objectEvents=array();
+ var $_objectEvents=array();
/**
* Constructeur
diff --git a/src/includes/class/class.LScli.php b/src/includes/class/class.LScli.php
index fc5be7d4..3ec66b9c 100644
--- a/src/includes/class/class.LScli.php
+++ b/src/includes/class/class.LScli.php
@@ -34,7 +34,7 @@ class LScli extends LSlog_staticLoggerClass {
* @see LScli::add_command()
* @var array
*/
- private static array $commands = array();
+ private static $commands = array();
/**
* Store current executed command
diff --git a/src/includes/class/class.LSform.php b/src/includes/class/class.LSform.php
index cb75b51a..b5c77447 100644
--- a/src/includes/class/class.LSform.php
+++ b/src/includes/class/class.LSform.php
@@ -49,7 +49,7 @@ class LSform extends LSlog_staticLoggerClass {
* @see LSform::__construct()
* @var array
*/
- var array $config;
+ var $config;
/**
* Validation ability telltale
@@ -57,7 +57,7 @@ class LSform extends LSlog_staticLoggerClass {
* @see LSform::setElementError()
* @var boolean
*/
- var bool $can_validate = true;
+ var $can_validate = true;
/**
* Form elements with attribute name as key and an implemented LSformElement as value
@@ -65,20 +65,20 @@ class LSform extends LSlog_staticLoggerClass {
* @see LSattr_html::addToForm()
* @var array
*/
- var array $elements = array();
+ var $elements = array();
/**
* Registred elements's rules
* @var array
*/
- var array $_rules = array();
+ var $_rules = array();
/**
* Post data of the form
* @see LSform::getPostData()
* @var array
*/
- var array $_postData = array();
+ var $_postData = array();
/**
* Registered elements's errors
@@ -87,7 +87,7 @@ class LSform extends LSlog_staticLoggerClass {
* @see LSform::getErrors()
* @var array
*/
- var array $_elementsErrors = array();
+ var $_elementsErrors = array();
/**
* Validation telltale
@@ -130,14 +130,14 @@ class LSform extends LSlog_staticLoggerClass {
* @see LSform::addWarning()
* @var array
*/
- var array $warnings = array();
+ var $warnings = array();
/**
* Telltale of the API mode
* @see LSform::__construct()
* @var bool
*/
- var bool $api_mode = false;
+ var $api_mode = false;
/**
* Submited telltale
@@ -145,7 +145,7 @@ class LSform extends LSlog_staticLoggerClass {
* @see LSform::isSubmit()
* @var bool
*/
- private bool $submited = false;
+ private $submited = false;
/**
* The submit button value
diff --git a/src/includes/class/class.LSformElement.php b/src/includes/class/class.LSformElement.php
index d11ff127..8143aabf 100644
--- a/src/includes/class/class.LSformElement.php
+++ b/src/includes/class/class.LSformElement.php
@@ -36,7 +36,7 @@ class LSformElement extends LSlog_staticLoggerClass {
* The attribute name
* @var string
*/
- var string $name;
+ var $name;
/**
* The attribute label
@@ -44,20 +44,20 @@ class LSformElement extends LSlog_staticLoggerClass {
* @see LSformElement::getLabel()
* @var string
*/
- var string $label;
+ var $label;
/**
* Attribute configuration (LSobjects..attrs.)
* @see LSformElement::getParam()
* @var array
*/
- var array $params;
+ var $params;
/**
* Values of the element
* @var array
*/
- var array $values = array();
+ var $values = array();
/**
* Reference of the related LSform object
@@ -71,7 +71,7 @@ class LSformElement extends LSlog_staticLoggerClass {
* @see LSformElement::isRequired()
* @var bool
*/
- var bool $_required = false;
+ var $_required = false;
/**
* Freeze telltale (=read-only element)
@@ -79,7 +79,7 @@ class LSformElement extends LSlog_staticLoggerClass {
* @see LSformElement::isFreeze()
* @var bool
*/
- var bool $_freeze = false;
+ var $_freeze = false;
/**
* Reference to the related LSattr_html object
@@ -92,21 +92,21 @@ class LSformElement extends LSlog_staticLoggerClass {
* Note: commonly overwrite in implementated classes
* @var string
*/
- var string $fieldTemplate = 'LSformElement_field.tpl';
+ var $fieldTemplate = 'LSformElement_field.tpl';
/**
* The template filename (of the form complement element)
* Note: may be overwrite in implementated classes
* @var string
*/
- var string $template = 'LSformElement.tpl';
+ var $template = 'LSformElement.tpl';
/**
* Template variables passed to Smarty computing the form element template
* Note: this variables are commonly added in implementated classes
* @var array
*/
- var array $fetchVariables = array();
+ var $fetchVariables = array();
/**
* Constructor
diff --git a/src/includes/class/class.LSformElement_boolean.php b/src/includes/class/class.LSformElement_boolean.php
index 486fa1ec..f6dd4fd6 100644
--- a/src/includes/class/class.LSformElement_boolean.php
+++ b/src/includes/class/class.LSformElement_boolean.php
@@ -32,8 +32,8 @@
class LSformElement_boolean extends LSformElement {
- var string $fieldTemplate = 'LSformElement_boolean_field.tpl';
- var string $template = 'LSformElement_boolean.tpl';
+ var $fieldTemplate = 'LSformElement_boolean_field.tpl';
+ var $template = 'LSformElement_boolean.tpl';
/**
* Retourne les infos d'affichage de l'élément
diff --git a/src/includes/class/class.LSformElement_date.php b/src/includes/class/class.LSformElement_date.php
index 5a340663..02df3942 100644
--- a/src/includes/class/class.LSformElement_date.php
+++ b/src/includes/class/class.LSformElement_date.php
@@ -32,9 +32,9 @@
class LSformElement_date extends LSformElement {
- var string $fieldTemplate = 'LSformElement_date_field.tpl';
+ var $fieldTemplate = 'LSformElement_date_field.tpl';
- var array $_php2js_format = array(
+ var $_php2js_format = array(
"a" => "a",
"A" => "A",
"b" => "b",
@@ -60,9 +60,9 @@ class LSformElement_date extends LSformElement {
"%" => "%",
);
- var array $_cache_php2js_format=array();
+ var $_cache_php2js_format=array();
- var string $default_style="vista";
+ var $default_style="vista";
/**
* Définis la valeur de l'élément date
diff --git a/src/includes/class/class.LSformElement_image.php b/src/includes/class/class.LSformElement_image.php
index 926c8455..d789f9d1 100644
--- a/src/includes/class/class.LSformElement_image.php
+++ b/src/includes/class/class.LSformElement_image.php
@@ -31,7 +31,7 @@
class LSformElement_image extends LSformElement {
- var string $fieldTemplate = 'LSformElement_image_field.tpl';
+ var $fieldTemplate = 'LSformElement_image_field.tpl';
/**
* Retourne les infos d'affichage de l'élément
diff --git a/src/includes/class/class.LSformElement_jsonCompositeAttribute.php b/src/includes/class/class.LSformElement_jsonCompositeAttribute.php
index 389f345d..2094f073 100644
--- a/src/includes/class/class.LSformElement_jsonCompositeAttribute.php
+++ b/src/includes/class/class.LSformElement_jsonCompositeAttribute.php
@@ -32,8 +32,8 @@ LSsession :: loadLSclass('LSformElement');
class LSformElement_jsonCompositeAttribute extends LSformElement {
- var string $template = 'LSformElement_jsonCompositeAttribute.tpl';
- var string $fieldTemplate = 'LSformElement_jsonCompositeAttribute_field.tpl';
+ var $template = 'LSformElement_jsonCompositeAttribute.tpl';
+ var $fieldTemplate = 'LSformElement_jsonCompositeAttribute_field.tpl';
public function __construct(&$form, $name, $label, $params, &$attr_html){
parent :: __construct($form, $name, $label, $params,$attr_html);
diff --git a/src/includes/class/class.LSformElement_labeledValue.php b/src/includes/class/class.LSformElement_labeledValue.php
index 643f1d87..a0983e83 100644
--- a/src/includes/class/class.LSformElement_labeledValue.php
+++ b/src/includes/class/class.LSformElement_labeledValue.php
@@ -33,8 +33,8 @@ LSsession :: loadLSclass('LSformElement');
class LSformElement_labeledValue extends LSformElement {
- var string $template = 'LSformElement_labeledValue.tpl';
- var string $fieldTemplate = 'LSformElement_labeledValue_field.tpl';
+ var $template = 'LSformElement_labeledValue.tpl';
+ var $fieldTemplate = 'LSformElement_labeledValue_field.tpl';
/**
* Retourne les infos d'affichage de l'élément
diff --git a/src/includes/class/class.LSformElement_mail.php b/src/includes/class/class.LSformElement_mail.php
index 322be4eb..517723aa 100644
--- a/src/includes/class/class.LSformElement_mail.php
+++ b/src/includes/class/class.LSformElement_mail.php
@@ -33,20 +33,20 @@ LSsession :: loadLSclass('LSformElement_text');
class LSformElement_mail extends LSformElement_text {
- var array $JSscripts = array(
+ var $JSscripts = array(
'LSformElement_mail.js'
);
- var array $fetchVariables = array(
+ var $fetchVariables = array(
'additionalCssClass' => array('LSformElement_mail'),
'uriPrefix' => 'mailto:'
);
- var string $fieldTemplate = 'LSformElement_uri_field.tpl';
+ var $fieldTemplate = 'LSformElement_uri_field.tpl';
// Flag to trigger warning about old Autocomplete config style
// (detect in constructor and show on getDisplay())
- private bool $warnOldAutocompleteConfigStyle = false;
+ private $warnOldAutocompleteConfigStyle = false;
/**
* Constructor
diff --git a/src/includes/class/class.LSformElement_mailQuota.php b/src/includes/class/class.LSformElement_mailQuota.php
index 9bcdb285..3ccda396 100644
--- a/src/includes/class/class.LSformElement_mailQuota.php
+++ b/src/includes/class/class.LSformElement_mailQuota.php
@@ -32,9 +32,9 @@
class LSformElement_mailQuota extends LSformElement {
- var string $fieldTemplate = 'LSformElement_mailQuota_field.tpl';
+ var $fieldTemplate = 'LSformElement_mailQuota_field.tpl';
- var array $sizeFacts = array(
+ var $sizeFacts = array(
1 => 'o',
1000 => 'Ko',
1000000 => 'Mo',
diff --git a/src/includes/class/class.LSformElement_maildir.php b/src/includes/class/class.LSformElement_maildir.php
index 99ff784a..03537d44 100644
--- a/src/includes/class/class.LSformElement_maildir.php
+++ b/src/includes/class/class.LSformElement_maildir.php
@@ -52,12 +52,12 @@ LSsession :: loadLSclass('LSformElement_text');
class LSformElement_maildir extends LSformElement_text {
- var array $JSscripts = array(
+ var $JSscripts = array(
'LSformElement_maildir_field.js',
'LSformElement_maildir.js'
);
- var array $fetchVariables = array(
+ var $fetchVariables = array(
'additionalCssClass' => array('LSformElement_maildir'),
);
diff --git a/src/includes/class/class.LSformElement_password.php b/src/includes/class/class.LSformElement_password.php
index ea0f06e2..da9eb98a 100644
--- a/src/includes/class/class.LSformElement_password.php
+++ b/src/includes/class/class.LSformElement_password.php
@@ -32,8 +32,8 @@ LSsession :: loadLSclass('LSformElement');
class LSformElement_password extends LSformElement {
- var string $fieldTemplate = 'LSformElement_password_field.tpl';
- var string $template = 'LSformElement_password.tpl';
+ var $fieldTemplate = 'LSformElement_password_field.tpl';
+ var $template = 'LSformElement_password.tpl';
/**
* Mail to send info
diff --git a/src/includes/class/class.LSformElement_postaladdress.php b/src/includes/class/class.LSformElement_postaladdress.php
index f444ce7d..2d7c4970 100644
--- a/src/includes/class/class.LSformElement_postaladdress.php
+++ b/src/includes/class/class.LSformElement_postaladdress.php
@@ -35,7 +35,7 @@ class LSformElement_postaladdress extends LSformElement_textarea {
* @see LSformElement_textarea::getDisplay()
* @var string
*/
- var string $fieldTemplateExtraClass = 'LSformElement_postaladdress';
+ var $fieldTemplateExtraClass = 'LSformElement_postaladdress';
/**
* Retourne les infos d'affichage de l'élément
diff --git a/src/includes/class/class.LSformElement_pre.php b/src/includes/class/class.LSformElement_pre.php
index 95bd1ed9..bc7987a5 100644
--- a/src/includes/class/class.LSformElement_pre.php
+++ b/src/includes/class/class.LSformElement_pre.php
@@ -35,7 +35,7 @@ class LSformElement_pre extends LSformElement_textarea {
* @see LSformElement_textarea::getDisplay()
* @var string
*/
- var string $fieldTemplateExtraClass = 'LSformElement_pre';
+ var $fieldTemplateExtraClass = 'LSformElement_pre';
/**
* Retourne les infos d'affichage de l'élément
diff --git a/src/includes/class/class.LSformElement_quota.php b/src/includes/class/class.LSformElement_quota.php
index 93f827db..6862d231 100644
--- a/src/includes/class/class.LSformElement_quota.php
+++ b/src/includes/class/class.LSformElement_quota.php
@@ -32,9 +32,9 @@
class LSformElement_quota extends LSformElement {
- var string $fieldTemplate = 'LSformElement_quota_field.tpl';
+ var $fieldTemplate = 'LSformElement_quota_field.tpl';
- var array $sizeFacts = array(
+ var $sizeFacts = array(
1 => 'o',
1024 => 'Ko',
1048576 => 'Mo',
diff --git a/src/includes/class/class.LSformElement_rss.php b/src/includes/class/class.LSformElement_rss.php
index 10d63ca7..bcc996f4 100644
--- a/src/includes/class/class.LSformElement_rss.php
+++ b/src/includes/class/class.LSformElement_rss.php
@@ -33,15 +33,15 @@ LSsession :: loadLSclass('LSformElement_text');
class LSformElement_rss extends LSformElement_text {
- var array $JSscripts = array(
+ var $JSscripts = array(
'LSformElement_rss.js'
);
- var array $fetchVariables = array(
+ var $fetchVariables = array(
'additionalCssClass' => array('LSformElement_rss'),
'uriPrefix' => ''
);
- var string $fieldTemplate = 'LSformElement_uri_field.tpl';
+ var $fieldTemplate = 'LSformElement_uri_field.tpl';
public function getDisplay() {
LStemplate :: addHelpInfo(
diff --git a/src/includes/class/class.LSformElement_select.php b/src/includes/class/class.LSformElement_select.php
index 8ee1109f..3f7db71b 100644
--- a/src/includes/class/class.LSformElement_select.php
+++ b/src/includes/class/class.LSformElement_select.php
@@ -32,8 +32,8 @@
class LSformElement_select extends LSformElement {
- var string $template = 'LSformElement_select.tpl';
- var string $fieldTemplate = 'LSformElement_select.tpl';
+ var $template = 'LSformElement_select.tpl';
+ var $fieldTemplate = 'LSformElement_select.tpl';
/**
* Return display data of this element
diff --git a/src/includes/class/class.LSformElement_select_box.php b/src/includes/class/class.LSformElement_select_box.php
index 01faf928..cda5a580 100644
--- a/src/includes/class/class.LSformElement_select_box.php
+++ b/src/includes/class/class.LSformElement_select_box.php
@@ -33,8 +33,8 @@ LSsession :: loadLSclass('LSformElement_select');
class LSformElement_select_box extends LSformElement_select {
- var string $template = 'LSformElement_select_box.tpl';
- var string $fieldTemplate = 'LSformElement_select_box.tpl';
+ var $template = 'LSformElement_select_box.tpl';
+ var $fieldTemplate = 'LSformElement_select_box.tpl';
/**
* Return display data of this element
diff --git a/src/includes/class/class.LSformElement_select_object.php b/src/includes/class/class.LSformElement_select_object.php
index 39811788..f83cb4fd 100644
--- a/src/includes/class/class.LSformElement_select_object.php
+++ b/src/includes/class/class.LSformElement_select_object.php
@@ -43,8 +43,8 @@ LSsession :: loadLSclass('LSformElement');
class LSformElement_select_object extends LSformElement {
- var string $fieldTemplate = 'LSformElement_select_object_field.tpl';
- var string $template = 'LSformElement_select_object.tpl';
+ var $fieldTemplate = 'LSformElement_select_object_field.tpl';
+ var $template = 'LSformElement_select_object.tpl';
/**
* Reference to the related LSattr_html_select_object object
diff --git a/src/includes/class/class.LSformElement_ssh_key.php b/src/includes/class/class.LSformElement_ssh_key.php
index a7737672..2ef54b35 100644
--- a/src/includes/class/class.LSformElement_ssh_key.php
+++ b/src/includes/class/class.LSformElement_ssh_key.php
@@ -32,8 +32,8 @@
class LSformElement_ssh_key extends LSformElement {
- var string $template = 'LSformElement_ssh_key.tpl';
- var string $fieldTemplate = 'LSformElement_ssh_key_field.tpl';
+ var $template = 'LSformElement_ssh_key.tpl';
+ var $fieldTemplate = 'LSformElement_ssh_key_field.tpl';
/**
diff --git a/src/includes/class/class.LSformElement_supannCompositeAttribute.php b/src/includes/class/class.LSformElement_supannCompositeAttribute.php
index afd8a477..cbf95d2e 100644
--- a/src/includes/class/class.LSformElement_supannCompositeAttribute.php
+++ b/src/includes/class/class.LSformElement_supannCompositeAttribute.php
@@ -34,8 +34,8 @@ LSsession :: loadLSaddon('supann');
class LSformElement_supannCompositeAttribute extends LSformElement {
- var string $template = 'LSformElement_supannCompositeAttribute.tpl';
- var string $fieldTemplate = 'LSformElement_supannCompositeAttribute_field.tpl';
+ var $template = 'LSformElement_supannCompositeAttribute.tpl';
+ var $fieldTemplate = 'LSformElement_supannCompositeAttribute_field.tpl';
/*
* Composants des valeurs composites :
diff --git a/src/includes/class/class.LSformElement_supannLabeledValue.php b/src/includes/class/class.LSformElement_supannLabeledValue.php
index 6e781d5f..439d3748 100644
--- a/src/includes/class/class.LSformElement_supannLabeledValue.php
+++ b/src/includes/class/class.LSformElement_supannLabeledValue.php
@@ -34,8 +34,8 @@ LSsession :: loadLSaddon('supann');
class LSformElement_supannLabeledValue extends LSformElement {
- var string $template = 'LSformElement_supannLabeledValue.tpl';
- var string $fieldTemplate = 'LSformElement_supannLabeledValue_field.tpl';
+ var $template = 'LSformElement_supannLabeledValue.tpl';
+ var $fieldTemplate = 'LSformElement_supannLabeledValue_field.tpl';
/**
* Nomenclature table of this form element's values
diff --git a/src/includes/class/class.LSformElement_tel.php b/src/includes/class/class.LSformElement_tel.php
index 73c7fd8a..f9199c9b 100644
--- a/src/includes/class/class.LSformElement_tel.php
+++ b/src/includes/class/class.LSformElement_tel.php
@@ -33,12 +33,12 @@ LSsession :: loadLSclass('LSformElement_text');
class LSformElement_tel extends LSformElement_text {
- var array $fetchVariables = array(
+ var $fetchVariables = array(
'additionalCssClass' => array('LSformElement_tel'),
'uriPrefix' => 'tel:'
);
- var string $fieldTemplate = 'LSformElement_uri_field.tpl';
+ var $fieldTemplate = 'LSformElement_uri_field.tpl';
public function getDisplay() {
$this -> fetchVariables['uriLinkTitle'] = $this -> attr_html -> attribute -> ldapObject ->getDisplayName();
diff --git a/src/includes/class/class.LSformElement_text.php b/src/includes/class/class.LSformElement_text.php
index 6977dea5..7f806b2e 100644
--- a/src/includes/class/class.LSformElement_text.php
+++ b/src/includes/class/class.LSformElement_text.php
@@ -39,7 +39,7 @@ class LSformElement_text extends LSformElement {
* @see LSformElement_text::getDisplay()
* @var array
*/
- var array $JSscripts = array();
+ var $JSscripts = array();
/**
* Extra CSS file to load for handling this form element
@@ -47,12 +47,12 @@ class LSformElement_text extends LSformElement {
* @see LSformElement_text::getDisplay()
* @var array
*/
- var array $CSSfiles = array(
+ var $CSSfiles = array(
'LSformElement_text.css',
);
- var string $fieldTemplate = 'LSformElement_text_field.tpl';
- var array $fetchVariables = array(
+ var $fieldTemplate = 'LSformElement_text_field.tpl';
+ var $fetchVariables = array(
'additionalCssClass' => array(),
);
diff --git a/src/includes/class/class.LSformElement_textarea.php b/src/includes/class/class.LSformElement_textarea.php
index b1227545..fc1e6167 100644
--- a/src/includes/class/class.LSformElement_textarea.php
+++ b/src/includes/class/class.LSformElement_textarea.php
@@ -32,14 +32,14 @@
class LSformElement_textarea extends LSformElement {
- var string $fieldTemplate = 'LSformElement_textarea_field.tpl';
+ var $fieldTemplate = 'LSformElement_textarea_field.tpl';
/**
* Extra CSS class for the pre HTML element
* @see LSformElement_textarea::getDisplay()
* @var string
*/
- var string $fieldTemplateExtraClass = '';
+ var $fieldTemplateExtraClass = '';
/**
* Retourne les infos d'affichage de l'élément
diff --git a/src/includes/class/class.LSformElement_url.php b/src/includes/class/class.LSformElement_url.php
index b6b2a8a5..99db10aa 100644
--- a/src/includes/class/class.LSformElement_url.php
+++ b/src/includes/class/class.LSformElement_url.php
@@ -33,16 +33,16 @@ LSsession :: loadLSclass('LSformElement_text');
class LSformElement_url extends LSformElement_text {
- var array $JSscripts = array(
+ var $JSscripts = array(
'LSformElement_url.js'
);
- var array $fetchVariables = array(
+ var $fetchVariables = array(
'additionalCssClass' => array('LSformElement_url'),
'uriPrefix' => ''
);
- var string $fieldTemplate = 'LSformElement_uri_field.tpl';
+ var $fieldTemplate = 'LSformElement_uri_field.tpl';
public function getDisplay() {
LStemplate :: addHelpInfo(
diff --git a/src/includes/class/class.LSformElement_valueWithUnit.php b/src/includes/class/class.LSformElement_valueWithUnit.php
index 60161c7a..bb432a00 100644
--- a/src/includes/class/class.LSformElement_valueWithUnit.php
+++ b/src/includes/class/class.LSformElement_valueWithUnit.php
@@ -32,7 +32,7 @@
class LSformElement_valueWithUnit extends LSformElement {
- var string $fieldTemplate = 'LSformElement_valueWithUnit_field.tpl';
+ var $fieldTemplate = 'LSformElement_valueWithUnit_field.tpl';
/**
* Retourne les unites de l'attribut
diff --git a/src/includes/class/class.LSformElement_wysiwyg.php b/src/includes/class/class.LSformElement_wysiwyg.php
index 56c113b4..2a2d8630 100644
--- a/src/includes/class/class.LSformElement_wysiwyg.php
+++ b/src/includes/class/class.LSformElement_wysiwyg.php
@@ -31,7 +31,7 @@
class LSformElement_wysiwyg extends LSformElement {
- var string $fieldTemplate = 'LSformElement_wysiwyg_field.tpl';
+ var $fieldTemplate = 'LSformElement_wysiwyg_field.tpl';
/**
* Retourne les infos d'affichage de l'élément
diff --git a/src/includes/class/class.LSformElement_xmpp.php b/src/includes/class/class.LSformElement_xmpp.php
index e28e18f0..e7d83264 100644
--- a/src/includes/class/class.LSformElement_xmpp.php
+++ b/src/includes/class/class.LSformElement_xmpp.php
@@ -32,16 +32,16 @@ LSsession :: loadLSclass('LSformElement_text');
*/
class LSformElement_xmpp extends LSformElement_text {
- var array $JSscripts = array(
+ var $JSscripts = array(
'LSformElement_xmpp.js'
);
- var array $fetchVariables = array(
+ var $fetchVariables = array(
'additionalCssClass' => array('LSformElement_xmpp'),
'uriPrefix' => 'xmpp:'
);
- var string $fieldTemplate = 'LSformElement_uri_field.tpl';
+ var $fieldTemplate = 'LSformElement_uri_field.tpl';
public function getDisplay() {
LStemplate :: addHelpInfo(
diff --git a/src/includes/class/class.LSformRule.php b/src/includes/class/class.LSformRule.php
index ccb405c5..4413183f 100644
--- a/src/includes/class/class.LSformRule.php
+++ b/src/includes/class/class.LSformRule.php
@@ -46,7 +46,7 @@ class LSformRule extends LSlog_staticLoggerClass {
* @see LSformRule::cli_test_form_rule_param_name_autocompleter()
* @var array
*/
- protected static array $cli_params_autocompleters = array();
+ protected static $cli_params_autocompleters = array();
/**
* Validate form element values with specified rule
diff --git a/src/includes/class/class.LSformRule_alphanumeric.php b/src/includes/class/class.LSformRule_alphanumeric.php
index 7b73150f..7a80adfa 100644
--- a/src/includes/class/class.LSformRule_alphanumeric.php
+++ b/src/includes/class/class.LSformRule_alphanumeric.php
@@ -28,7 +28,7 @@
class LSformRule_alphanumeric extends LSformRule {
// CLI parameters autocompleters
- protected static array $cli_params_autocompleters = array(
+ protected static $cli_params_autocompleters = array(
'withAccents' => array('LScli', 'autocomplete_bool'),
);
diff --git a/src/includes/class/class.LSformRule_callable.php b/src/includes/class/class.LSformRule_callable.php
index a7a00c27..1e43f2db 100644
--- a/src/includes/class/class.LSformRule_callable.php
+++ b/src/includes/class/class.LSformRule_callable.php
@@ -28,7 +28,7 @@
class LSformRule_callable extends LSformRule {
// CLI parameters autocompleters
- protected static array $cli_params_autocompleters = array(
+ protected static $cli_params_autocompleters = array(
'callable' => null,
);
diff --git a/src/includes/class/class.LSformRule_compare.php b/src/includes/class/class.LSformRule_compare.php
index 9b43bb51..92884ab2 100644
--- a/src/includes/class/class.LSformRule_compare.php
+++ b/src/includes/class/class.LSformRule_compare.php
@@ -34,7 +34,7 @@ class LSformRule_compare extends LSformRule {
const validate_one_by_one = False;
// CLI parameters autocompleters
- protected static array $cli_params_autocompleters = array(
+ protected static $cli_params_autocompleters = array(
'operator' => null,
);
diff --git a/src/includes/class/class.LSformRule_date.php b/src/includes/class/class.LSformRule_date.php
index 927234ba..837d4d3f 100644
--- a/src/includes/class/class.LSformRule_date.php
+++ b/src/includes/class/class.LSformRule_date.php
@@ -28,7 +28,7 @@
class LSformRule_date extends LSformRule {
// CLI parameters autocompleters
- protected static array $cli_params_autocompleters = array(
+ protected static $cli_params_autocompleters = array(
'format' => null,
'special_values' => null,
);
diff --git a/src/includes/class/class.LSformRule_differentPassword.php b/src/includes/class/class.LSformRule_differentPassword.php
index cf8f79ba..d4b8bb1d 100644
--- a/src/includes/class/class.LSformRule_differentPassword.php
+++ b/src/includes/class/class.LSformRule_differentPassword.php
@@ -28,7 +28,7 @@
class LSformRule_differentPassword extends LSformRule {
// CLI parameters autocompleters
- protected static array $cli_params_autocompleters = array(
+ protected static $cli_params_autocompleters = array(
'otherPasswordAttributes' => null,
);
diff --git a/src/includes/class/class.LSformRule_email.php b/src/includes/class/class.LSformRule_email.php
index 3561fc20..a6e94024 100644
--- a/src/includes/class/class.LSformRule_email.php
+++ b/src/includes/class/class.LSformRule_email.php
@@ -28,7 +28,7 @@
class LSformRule_email extends LSformRule {
// CLI parameters autocompleters
- protected static array $cli_params_autocompleters = array(
+ protected static $cli_params_autocompleters = array(
'domain' => null,
'checkDomain' => array('LScli', 'autocomplete_bool'),
);
diff --git a/src/includes/class/class.LSformRule_filesize.php b/src/includes/class/class.LSformRule_filesize.php
index 916e1be6..14fb3f93 100644
--- a/src/includes/class/class.LSformRule_filesize.php
+++ b/src/includes/class/class.LSformRule_filesize.php
@@ -28,7 +28,7 @@
class LSformRule_filesize extends LSformRule {
// CLI parameters autocompleters
- protected static array $cli_params_autocompleters = array(
+ protected static $cli_params_autocompleters = array(
'minSize' => array('LScli', 'autocomplete_int'),
'maxSize' => array('LScli', 'autocomplete_int'),
);
diff --git a/src/includes/class/class.LSformRule_imagesize.php b/src/includes/class/class.LSformRule_imagesize.php
index a5be62d8..ea8d1af1 100644
--- a/src/includes/class/class.LSformRule_imagesize.php
+++ b/src/includes/class/class.LSformRule_imagesize.php
@@ -28,7 +28,7 @@
class LSformRule_imagesize extends LSformRule {
// CLI parameters autocompleters
- protected static array $cli_params_autocompleters = array(
+ protected static $cli_params_autocompleters = array(
'minWidth' => array('LScli', 'autocomplete_int'),
'maxWitdh' => array('LScli', 'autocomplete_int'),
'minHeight' => array('LScli', 'autocomplete_int'),
diff --git a/src/includes/class/class.LSformRule_inarray.php b/src/includes/class/class.LSformRule_inarray.php
index 1b367b88..f44d0a87 100644
--- a/src/includes/class/class.LSformRule_inarray.php
+++ b/src/includes/class/class.LSformRule_inarray.php
@@ -28,7 +28,7 @@
class LSformRule_inarray extends LSformRule {
// CLI parameters autocompleters
- protected static array $cli_params_autocompleters = array(
+ protected static $cli_params_autocompleters = array(
'possible_values' => null,
'reverse' => array('LScli', 'autocomplete_bool'),
);
diff --git a/src/includes/class/class.LSformRule_integer.php b/src/includes/class/class.LSformRule_integer.php
index 85111564..fd774b03 100644
--- a/src/includes/class/class.LSformRule_integer.php
+++ b/src/includes/class/class.LSformRule_integer.php
@@ -28,7 +28,7 @@
class LSformRule_integer extends LSformRule{
// CLI parameters autocompleters
- protected static array $cli_params_autocompleters = array(
+ protected static $cli_params_autocompleters = array(
'positive' => array('LScli', 'autocomplete_bool'),
'negative' => array('LScli', 'autocomplete_bool'),
'minHeight' => array('LScli', 'autocomplete_int'),
diff --git a/src/includes/class/class.LSformRule_ldapSearchURI.php b/src/includes/class/class.LSformRule_ldapSearchURI.php
index 2e2c80c4..f71d3774 100644
--- a/src/includes/class/class.LSformRule_ldapSearchURI.php
+++ b/src/includes/class/class.LSformRule_ldapSearchURI.php
@@ -28,7 +28,7 @@
class LSformRule_ldapSearchURI extends LSformRule {
// CLI parameters autocompleters
- protected static array $cli_params_autocompleters = array(
+ protected static $cli_params_autocompleters = array(
'check_resolving_ldap_host' => array('LScli', 'autocomplete_bool'),
'host_required' => array('LScli', 'autocomplete_bool'),
'scope_required' => array('LScli', 'autocomplete_bool'),
diff --git a/src/includes/class/class.LSformRule_maxlength.php b/src/includes/class/class.LSformRule_maxlength.php
index 9f71d8c1..752f4514 100644
--- a/src/includes/class/class.LSformRule_maxlength.php
+++ b/src/includes/class/class.LSformRule_maxlength.php
@@ -28,7 +28,7 @@
class LSformRule_maxlength extends LSformRule {
// CLI parameters autocompleters
- protected static array $cli_params_autocompleters = array(
+ protected static $cli_params_autocompleters = array(
'limit' => array('LScli', 'autocomplete_int'),
);
diff --git a/src/includes/class/class.LSformRule_mimetype.php b/src/includes/class/class.LSformRule_mimetype.php
index c641e056..2c56e0d0 100644
--- a/src/includes/class/class.LSformRule_mimetype.php
+++ b/src/includes/class/class.LSformRule_mimetype.php
@@ -28,7 +28,7 @@
class LSformRule_mimetype extends LSformRule {
// CLI parameters autocompleters
- protected static array $cli_params_autocompleters = array(
+ protected static $cli_params_autocompleters = array(
'mimeType' => null,
'mimeTypeRegEx' => null,
);
diff --git a/src/includes/class/class.LSformRule_minlength.php b/src/includes/class/class.LSformRule_minlength.php
index 28c9f7b3..908e3ee1 100644
--- a/src/includes/class/class.LSformRule_minlength.php
+++ b/src/includes/class/class.LSformRule_minlength.php
@@ -28,7 +28,7 @@
class LSformRule_minlength extends LSformRule {
// CLI parameters autocompleters
- protected static array $cli_params_autocompleters = array(
+ protected static $cli_params_autocompleters = array(
'limit' => array('LScli', 'autocomplete_int'),
);
diff --git a/src/includes/class/class.LSformRule_numberOfValues.php b/src/includes/class/class.LSformRule_numberOfValues.php
index fe0fe279..e7b3ebd2 100644
--- a/src/includes/class/class.LSformRule_numberOfValues.php
+++ b/src/includes/class/class.LSformRule_numberOfValues.php
@@ -35,7 +35,7 @@ class LSformRule_numberOfValues extends LSformRule {
const validate_one_by_one = False;
// CLI parameters autocompleters
- protected static array $cli_params_autocompleters = array(
+ protected static $cli_params_autocompleters = array(
'min' => array('LScli', 'autocomplete_int'),
'max' => array('LScli', 'autocomplete_int'),
);
diff --git a/src/includes/class/class.LSformRule_password.php b/src/includes/class/class.LSformRule_password.php
index 8c6a8d7c..1bb650ff 100644
--- a/src/includes/class/class.LSformRule_password.php
+++ b/src/includes/class/class.LSformRule_password.php
@@ -28,7 +28,7 @@
class LSformRule_password extends LSformRule {
// CLI parameters autocompleters
- protected static array $cli_params_autocompleters = array(
+ protected static $cli_params_autocompleters = array(
'minlength' => array('LScli', 'autocomplete_int'),
'maxlength' => array('LScli', 'autocomplete_int'),
'prohibitedValues' => null,
diff --git a/src/includes/class/class.LSformRule_rangelength.php b/src/includes/class/class.LSformRule_rangelength.php
index b31a0612..029178ee 100644
--- a/src/includes/class/class.LSformRule_rangelength.php
+++ b/src/includes/class/class.LSformRule_rangelength.php
@@ -28,7 +28,7 @@
class LSformRule_rangelength extends LSformRule {
// CLI parameters autocompleters
- protected static array $cli_params_autocompleters = array(
+ protected static $cli_params_autocompleters = array(
'limits' => null,
);
diff --git a/src/includes/class/class.LSformRule_regex.php b/src/includes/class/class.LSformRule_regex.php
index d78acc76..da605632 100644
--- a/src/includes/class/class.LSformRule_regex.php
+++ b/src/includes/class/class.LSformRule_regex.php
@@ -28,7 +28,7 @@
class LSformRule_regex extends LSformRule {
// CLI parameters autocompleters
- protected static array $cli_params_autocompleters = array(
+ protected static $cli_params_autocompleters = array(
'regex' => null,
);
diff --git a/src/includes/class/class.LSformRule_zxcvbn.php b/src/includes/class/class.LSformRule_zxcvbn.php
index 93e979bb..8f58eb4e 100644
--- a/src/includes/class/class.LSformRule_zxcvbn.php
+++ b/src/includes/class/class.LSformRule_zxcvbn.php
@@ -28,7 +28,7 @@
class LSformRule_zxcvbn extends LSformRule {
// CLI parameters autocompleters
- protected static array $cli_params_autocompleters = array(
+ protected static $cli_params_autocompleters = array(
'minScore' => array('LScli', 'autocomplete_int'),
'userDataAttrs' => null,
'showWarning' => array('LScli', 'autocomplete_bool'),
diff --git a/src/includes/class/class.LSioFormatDriver.php b/src/includes/class/class.LSioFormatDriver.php
index 4fcaf303..eb465bd8 100644
--- a/src/includes/class/class.LSioFormatDriver.php
+++ b/src/includes/class/class.LSioFormatDriver.php
@@ -37,7 +37,7 @@ class LSioFormatDriver extends LSlog_staticLoggerClass {
* @see LSioFormatDriver::getOption()
* @var array
*/
- protected array $options = array();
+ protected $options = array();
/**
* Constructor
diff --git a/src/includes/class/class.LSldap.php b/src/includes/class/class.LSldap.php
index 9b7cc1d1..1ffcfd1e 100644
--- a/src/includes/class/class.LSldap.php
+++ b/src/includes/class/class.LSldap.php
@@ -39,7 +39,7 @@ class LSldap extends LSlog_staticLoggerClass {
* @see LSldap::getConfig()
* @var array
*/
- private static array $config = array();
+ private static $config = array();
/**
* LDAP connection (Net_LDAP2 object)
diff --git a/src/includes/class/class.LSldapObject.php b/src/includes/class/class.LSldapObject.php
index 1affed26..43b4856c 100644
--- a/src/includes/class/class.LSldapObject.php
+++ b/src/includes/class/class.LSldapObject.php
@@ -40,25 +40,25 @@ class LSldapObject extends LSlog_staticLoggerClass {
* Object configuration
* @var array
*/
- var array $config = array();
+ var $config = array();
/**
* Object type name
* @var string
*/
- var string $type_name;
+ var $type_name;
/**
* Object attributes
* @var array
*/
- var array $attrs = array();
+ var $attrs = array();
/**
* Object active forms
* @var array
*/
- var array $forms;
+ var $forms;
/**
* Active LSview
@@ -82,7 +82,7 @@ class LSldapObject extends LSlog_staticLoggerClass {
* Array of registred values, used to add custom info to compute LSformat
* @var array
*/
- var array $other_values=array();
+ var $other_values=array();
/**
* Cache of LSsession::whoami() result for the current connected user
@@ -95,7 +95,7 @@ class LSldapObject extends LSlog_staticLoggerClass {
* @see LSldapObject::updateLSrelationsCache()
* @var array
*/
- var array $_LSrelationsCache=array();
+ var $_LSrelationsCache=array();
/**
* Object registered hooks on event
@@ -103,7 +103,7 @@ class LSldapObject extends LSlog_staticLoggerClass {
* @see LSldapObject::fireEvent()
* @var array
*/
- var array $_events=array();
+ var $_events=array();
/**
* Object registered hooks on event trigger object methods
@@ -111,14 +111,14 @@ class LSldapObject extends LSlog_staticLoggerClass {
* @see LSldapObject::fireEvent()
* @var array
*/
- var array $_objectEvents=array();
+ var $_objectEvents=array();
/**
* Chache of the object computed information
* @see LSldapObject::__get()
* @var array
*/
- var array $cache=array();
+ var $cache=array();
/**
* Constructeur
diff --git a/src/includes/class/class.LSlog.php b/src/includes/class/class.LSlog.php
index 859acf64..3543980b 100644
--- a/src/includes/class/class.LSlog.php
+++ b/src/includes/class/class.LSlog.php
@@ -31,7 +31,7 @@ class LSlog {
* Enable state
* @var bool
*/
- private static bool $enabled = false;
+ private static $enabled = false;
/**
* Configured handlers
@@ -39,14 +39,14 @@ class LSlog {
* @see self::add_handler()
* @var array
*/
- private static array $handlers = array();
+ private static $handlers = array();
/**
* Default handlers (if not configured)
* @see self::start()
* @var array
*/
- private static array $default_handlers = array(
+ private static $default_handlers = array(
array (
'handler' => 'file',
),
@@ -62,13 +62,13 @@ class LSlog {
* Default level
* @var string
*/
- private static string $default_level = 'WARNING';
+ private static $default_level = 'WARNING';
/**
* Available levels
* @var array
*/
- private static array $levels = array(
+ private static $levels = array(
'TRACE' => 0,
'DEBUG' => 1,
'INFO' => 2,
@@ -81,7 +81,7 @@ class LSlog {
* Current existing loggers
* @var array
*/
- private static array $loggers = array();
+ private static $loggers = array();
/**
* Start/initialize logging
diff --git a/src/includes/class/class.LSlog_email.php b/src/includes/class/class.LSlog_email.php
index 604540d7..3ad15f4e 100644
--- a/src/includes/class/class.LSlog_email.php
+++ b/src/includes/class/class.LSlog_email.php
@@ -38,7 +38,7 @@ class LSlog_email extends LSlog_handler {
* @see LSlog_handler::__get()
* @var bool
*/
- protected bool $default_datetime_prefix = false;
+ protected $default_datetime_prefix = false;
/**
* Constructor
diff --git a/src/includes/class/class.LSlog_handler.php b/src/includes/class/class.LSlog_handler.php
index e0a942eb..37cfea7c 100644
--- a/src/includes/class/class.LSlog_handler.php
+++ b/src/includes/class/class.LSlog_handler.php
@@ -38,7 +38,7 @@ class LSlog_handler extends LSlog_staticLoggerClass {
* @see LSlog_handler::__construct()
* @var array
*/
- protected array $config = array();
+ protected $config = array();
/**
* Log level
@@ -50,20 +50,20 @@ class LSlog_handler extends LSlog_staticLoggerClass {
* Default log formats
* @var LSformat
*/
- protected string $default_format = '%{requesturi} - %{remoteaddr} - %{ldapservername} - %{authuser} - %{logger} - %{level} - %{message}';
+ protected $default_format = '%{requesturi} - %{remoteaddr} - %{ldapservername} - %{authuser} - %{logger} - %{level} - %{message}';
/**
* Default CLI log formats
* @var LSformat
*/
- protected string $default_cli_format = '%{clibinpath} - %{logger} - %{level} - %{message}';
+ protected $default_cli_format = '%{clibinpath} - %{logger} - %{level} - %{message}';
/**
* Defaultly add datetime prefix (enabled/disabled)
* @see LSlog_handler::__get()
* @var bool
*/
- protected bool $default_datetime_prefix = true;
+ protected $default_datetime_prefix = true;
/**
* Default datetime format (as expected by date())
@@ -71,21 +71,21 @@ class LSlog_handler extends LSlog_staticLoggerClass {
* @see date()
* @var string
*/
- protected string $default_datetime_format = 'Y/m/d H:i:s';
+ protected $default_datetime_format = 'Y/m/d H:i:s';
/**
* Explicity included loggers
* (LSconfig.handlers..loggers)
* @var array
*/
- protected array $loggers = array();
+ protected $loggers = array();
/**
* Explicity excluded loggers
* (LSconfig.handlers..excluded_loggers)
* @var array
*/
- protected array $excluded_loggers = array();
+ protected $excluded_loggers = array();
/**
* Constructor
diff --git a/src/includes/class/class.LSlog_logger.php b/src/includes/class/class.LSlog_logger.php
index 699d7b42..3e7fd32e 100644
--- a/src/includes/class/class.LSlog_logger.php
+++ b/src/includes/class/class.LSlog_logger.php
@@ -42,13 +42,13 @@ class LSlog_logger extends LSlog_staticLoggerClass {
* The handler configuration
* @var array
*/
- private array $config = array();
+ private $config = array();
/**
* Enabled state
* @var bool
*/
- private bool $enabled = true;
+ private $enabled = true;
/**
* Logger custom level
diff --git a/src/includes/class/class.LSlog_syslog.php b/src/includes/class/class.LSlog_syslog.php
index ce4a1a72..4d6c770c 100644
--- a/src/includes/class/class.LSlog_syslog.php
+++ b/src/includes/class/class.LSlog_syslog.php
@@ -50,14 +50,14 @@ class LSlog_syslog extends LSlog_handler {
* Default syslog priority (used if level is not provided or invalid)
* @var int
*/
- private static int $default_priority = LOG_WARNING;
+ private static $default_priority = LOG_WARNING;
/**
* Defaultly add datetime prefix (enabled/disabled)
* @see LSlog_handler::__get()
* @var bool
*/
- protected bool $default_datetime_prefix = false;
+ protected $default_datetime_prefix = false;
/**
* Constructor
diff --git a/src/includes/class/class.LSlog_system.php b/src/includes/class/class.LSlog_system.php
index acf4d5de..6e2f89ec 100644
--- a/src/includes/class/class.LSlog_system.php
+++ b/src/includes/class/class.LSlog_system.php
@@ -32,7 +32,7 @@ class LSlog_system extends LSlog_handler {
* @see LSlog_handler::__get()
* @var bool
*/
- protected bool $default_datetime_prefix = false;
+ protected $default_datetime_prefix = false;
/**
* Constructor
diff --git a/src/includes/class/class.LSobjects.LSgroup.php b/src/includes/class/class.LSobjects.LSgroup.php
index 13da3bcd..4147b5c2 100644
--- a/src/includes/class/class.LSobjects.LSgroup.php
+++ b/src/includes/class/class.LSobjects.LSgroup.php
@@ -27,9 +27,9 @@
*/
class LSgroup extends LSldapObject {
- var string $userObjectType = 'LSpeople';
- var string $memberAttr = 'uniqueMember';
- var string $memberAttrValue = 'dn';
+ var $userObjectType = 'LSpeople';
+ var $memberAttr = 'uniqueMember';
+ var $memberAttrValue = 'dn';
/* ========== Members ========== */
/**
diff --git a/src/includes/class/class.LSrelation.php b/src/includes/class/class.LSrelation.php
index 44a0b15e..463c3888 100644
--- a/src/includes/class/class.LSrelation.php
+++ b/src/includes/class/class.LSrelation.php
@@ -62,7 +62,7 @@ class LSrelation extends LSlog_staticLoggerClass {
* @see self::getConfig()
* @var array
*/
- private array $config = array();
+ private $config = array();
/**
* LSrelation constructor
diff --git a/src/includes/class/class.LSsearch.php b/src/includes/class/class.LSsearch.php
index bb9d62cb..9b306608 100644
--- a/src/includes/class/class.LSsearch.php
+++ b/src/includes/class/class.LSsearch.php
@@ -79,7 +79,7 @@ class LSsearch extends LSlog_staticLoggerClass {
* @see self::setParamsFromRequest()
* @var array
*/
- private array $params = array (
+ private $params = array (
// Search params
'filter' => NULL,
'pattern' => NULL,
@@ -112,7 +112,7 @@ class LSsearch extends LSlog_staticLoggerClass {
* @see self::formatSearchParams()
* @var array
*/
- private array $_searchParams = array();
+ private $_searchParams = array();
/**
* The result of the search
diff --git a/src/includes/class/class.LSsearchEntry.php b/src/includes/class/class.LSsearchEntry.php
index c7745a29..a7b1d365 100644
--- a/src/includes/class/class.LSsearchEntry.php
+++ b/src/includes/class/class.LSsearchEntry.php
@@ -60,20 +60,20 @@ class LSsearchEntry extends LSlog_staticLoggerClass {
* @see LSsearch::$params
* @var array
*/
- private array $params = array();
+ private $params = array();
/**
* The attributes list
* @var array
*/
- private array $attrs_list = array();
+ private $attrs_list = array();
/**
* The list of attributes requested in the search
* @see LSsearch::getAttributes()
* @var array
*/
- private array $attrs = array();
+ private $attrs = array();
/**
* The index of the entry in the result of the search
@@ -93,7 +93,7 @@ class LSsearchEntry extends LSlog_staticLoggerClass {
* @see self::__get()
* @var array
*/
- private array $other_values = array();
+ private $other_values = array();
/**
* Constructor
diff --git a/src/includes/class/class.LSsession.php b/src/includes/class/class.LSsession.php
index 7a965b3e..bf27f297 100644
--- a/src/includes/class/class.LSsession.php
+++ b/src/includes/class/class.LSsession.php
@@ -97,7 +97,7 @@ class LSsession {
* @see $_SESSION['LSsession']['LSprofiles']
* @var array
*/
- private static array $LSprofiles = array();
+ private static $LSprofiles = array();
/**
* Current connected user LSaccess (access rights)
@@ -115,7 +115,7 @@ class LSsession {
* @see $_SESSION['LSsession']['LSaccess']
* @var array
*/
- private static array $LSaccess = array();
+ private static $LSaccess = array();
/**
* Current connected user LSaddonsViewsAccess (access on LSaddons views)
@@ -134,7 +134,7 @@ class LSsession {
* @see $_SESSION['LSsession']['LSaddonsViewsAccess']
* @var array
*/
- private static array $LSaddonsViewsAccess = array();
+ private static $LSaddonsViewsAccess = array();
/**
* Temporary files of the session
@@ -148,7 +148,7 @@ class LSsession {
* @see $_SESSION['LSsession']['tmp_file']
* @var array
*/
- private static array $tmp_file = array();
+ private static $tmp_file = array();
/*
* Class constants not store in session
@@ -175,7 +175,7 @@ class LSsession {
* @see self::getAjaxDisplay()
* @var bool
*/
- private static bool $ajaxDisplay = false;
+ private static $ajaxDisplay = false;
/**
* The LSldapObject of connected user
@@ -189,14 +189,14 @@ class LSsession {
* @see self::initialize()
* @var bool
*/
- private static bool $initialized = false;
+ private static $initialized = false;
/**
* List of currently loaded LSaddons
* @see self::loadLSaddon()
* @var array
*/
- private static array $loadedAddons = array();
+ private static $loadedAddons = array();
/**
* Currently registered LSaddons views
@@ -225,7 +225,7 @@ class LSsession {
* API mode telltale
* @var bool
*/
- private static bool $api_mode = false;
+ private static $api_mode = false;
/**
* Get session info by key
diff --git a/src/includes/class/class.LStemplate.php b/src/includes/class/class.LStemplate.php
index b5491cee..68c7e0e5 100644
--- a/src/includes/class/class.LStemplate.php
+++ b/src/includes/class/class.LStemplate.php
@@ -36,35 +36,35 @@ class LStemplate extends LSlog_staticLoggerClass {
* @see self::addJSscript()
* @var array
*/
- private static array $JSscripts = array();
+ private static $JSscripts = array();
/**
* Libs JS files to load on page
* @see self::addLibJSscript()
* @var array
*/
- private static array $LibsJSscripts = array();
+ private static $LibsJSscripts = array();
/**
* Javascript configuration parameter to set on page
* @see self::addJSconfigParam()
* @var array
*/
- private static array $JSconfigParams = array();
+ private static $JSconfigParams = array();
/**
* CSS files to load on page
* @see self::addCssFile()
* @var array
*/
- private static array $CssFiles = array();
+ private static $CssFiles = array();
/**
* Libs CSS files to load on page
* @see self::addLibCssFile()
* @var array
*/
- private static array $LibsCssFiles = array();
+ private static $LibsCssFiles = array();
/**
* LStemplate configuration
@@ -109,7 +109,7 @@ class LStemplate extends LSlog_staticLoggerClass {
* Array of directories where file have to be search
* @var array
*/
- private static array $directories = array('local', LS_THEME, './');
+ private static $directories = array('local', LS_THEME, './');
/**
* Registered events
@@ -117,7 +117,7 @@ class LStemplate extends LSlog_staticLoggerClass {
* @see self::fireEvent()
* @var array
*/
- private static array $_events = array();
+ private static $_events = array();
/**
* Deprecated templates files
diff --git a/src/includes/class/class.LSurl.php b/src/includes/class/class.LSurl.php
index e82105d6..0c03e614 100644
--- a/src/includes/class/class.LSurl.php
+++ b/src/includes/class/class.LSurl.php
@@ -59,7 +59,7 @@ class LSurl extends LSlog_staticLoggerClass {
* @see self::add_handler()
* @var array
*/
- private static array $patterns = array();
+ private static $patterns = array();
/**
* Add an URL pattern
diff --git a/src/includes/class/class.LSurlRequest.php b/src/includes/class/class.LSurlRequest.php
index b7f22efb..53813dd1 100644
--- a/src/includes/class/class.LSurlRequest.php
+++ b/src/includes/class/class.LSurlRequest.php
@@ -51,19 +51,19 @@ class LSurlRequest extends LSlog_staticLoggerClass {
* Request need authentication ?
* @var bool
*/
- private bool $authenticated = true;
+ private $authenticated = true;
/**
* API mode enabled ?
* @var bool
*/
- private bool $api_mode = false;
+ private $api_mode = false;
/**
* Parameters detected on requested URL
* @var array
*/
- private array $url_params = array();
+ private $url_params = array();
public function __construct($current_url, $handler_infos, $url_params=array()) {
$this -> current_url = $current_url;