projects
/
tweeper.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tweeper.php: rename $rootName to $root_node_name
[tweeper.git]
/
tweeper.php
diff --git
a/tweeper.php
b/tweeper.php
index
0034a0d
..
293595f
100644
(file)
--- a/
tweeper.php
+++ b/
tweeper.php
@@
-182,7
+182,7
@@
class Tweeper {
return $xsltProcessor;
}
return $xsltProcessor;
}
- private function json_to_xml($json, $root
N
ame) {
+ private function json_to_xml($json, $root
_node_n
ame) {
// Apparenty the ObjectNormalizer used afterwards is not able to handle
// the stdClass object created by json_decode() with the default setting
// $assoc = false; so use $assoc = true
// Apparenty the ObjectNormalizer used afterwards is not able to handle
// the stdClass object created by json_decode() with the default setting
// $assoc = false; so use $assoc = true
@@
-198,7
+198,7
@@
class Tweeper {
$serializer_options = array (
'xml_encoding' => "UTF-8",
'xml_format_output' => TRUE,
$serializer_options = array (
'xml_encoding' => "UTF-8",
'xml_format_output' => TRUE,
- 'xml_root_node_name' => $root
N
ame,
+ 'xml_root_node_name' => $root
_node_n
ame,
);
$xml_data = $serializer->serialize($data, 'xml', $serializer_options);
);
$xml_data = $serializer->serialize($data, 'xml', $serializer_options);