[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 101/151: Deprecated HtmlInput::make_object mu
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 101/151: Deprecated HtmlInput::make_object must be replace by json_encode |
Date: |
Sat, 4 Feb 2017 17:14:31 +0000 (UTC) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit d3e75f144ef31747bbe28becae6060be4b0b8918
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] 131/151: Doxygen, (continued)
- [Noalyss-commit] [noalyss] 131/151: Doxygen, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 120/151: Add managetable.js to the script to load, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 128/151: Security : add security, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 130/151: #1380 : change the name of the function Acc_Ledger::button_copy_operation, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 132/151: Correct Doxygen documentation, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 96/151: Documentation and clean code, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 112/151: Improve Doxygen doc, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 73/151: Export en PDF d'operation, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 143/151: Fix : when exporting files for creating a PDF in ANC , the filename can be a problem if he contains some char., Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 116/151: Manage_Table , the js and php code are been splitted in 2 files , the ajax calls are nearly done , doxygen for these files is correct, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 101/151: Deprecated HtmlInput::make_object must be replace by json_encode,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 99/151: Improve Sorttable, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 110/151: Add property in Manage_Table VISIBLE UPDATABLE, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 125/151: Test ManageTable ; fix parseXML function, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 144/151: Merge branch 'master' of ns3:/srv/git/noalyss, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 09/151: Experiment less, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 123/151: Test ManageTable ; fix parseXML function, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 126/151: Correct js : this of the object is not callable from a nested function, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 135/151: Fix bug : duplicate doesn't take in account the TVA_ID, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 148/151: Missing col in ANC_TABLE, Dany De Bontridder, 2017/02/04
- [Noalyss-commit] [noalyss] 111/151: Improve Manage_Table_SQL : add functions for javascript , update or visible flag ..., Dany De Bontridder, 2017/02/04