[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 50/151: Deprecated HtmlInput::make_object mus
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 50/151: Deprecated HtmlInput::make_object must be replace by json_encode |
Date: |
Sat, 4 Feb 2017 17:14:27 +0000 (UTC) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 98342a441e1721131444394ac01045582e8f8676
Author: Rachel <address@hidden>
Date: Fri Dec 23 11:38:37 2016 +0100
Deprecated HtmlInput::make_object must be replace by json_encode
---
include/lib/class_html_input.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/lib/class_html_input.php b/include/lib/class_html_input.php
index ea00a49..74b313b 100755
--- a/include/lib/class_html_input.php
+++ b/include/lib/class_html_input.php
@@ -133,6 +133,7 @@ class HtmlInput
* @return javascript string with the object
* @note: there is not check on the key->value, so you could need to escape
* special char as quote, single-quote...
+ * @deprecated
* @code
$a=new IButton()
$a->set_attribute('prop','1');
@@ -144,7 +145,7 @@ class HtmlInput
echo $string => {'prop':'1','prop2':'2','prop3':'3'};
@endcode
*/
- public function make_object($p_name=null)
+ public function make_object_deprecated($p_name=null)
{
$name=($p_name != null)?$p_name.'=':'';
if ( count($this->attribute) == 0) return $name."{}";
- [Noalyss-commit] [noalyss] 46/151: update of the config.inc.example file, (continued)
- [Noalyss-commit] [noalyss] 46/151: update of the config.inc.example file, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 36/151: Performance : improve VERIF , Improve Accounting check, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 39/151: Improve Acc_Bilan::warning, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 37/151: remove debug info, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 43/151: Fix problem of accentuated char, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 40/151: Improve Performance Acc_Bilan::warning, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 34/151: Performance : improve VERIF , Affiche uniquement journaux incorrects, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 35/151: Performance : improve VERIF , Totaux Actif/Passif, Charge/Produit, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 51/151: Improve Doc, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 44/151: Problème htmlentities : charset par défaut différent entre version, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 50/151: Deprecated HtmlInput::make_object must be replace by json_encode,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 48/151: Improve Sorttable, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 54/151: Merge branch 'br_6916', Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 53/151: Improve DOC for Scenario, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 56/151: IText add htmlentities to protect, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 22/151: Export en PDF d'operation, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 60/151: Regenerated from less, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 65/151: Clean code, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 52/151: Improve DOC for Scenario, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 55/151: Timestamp instead of date, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 61/151: Cosmetic : user / password use placeholder, Dany De Bontridder, 2017/02/04