mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Updated xmilze to official new 1.0.1 version
(it's 'our' version with some comments). Merged from MOODLE_14_STABLE
This commit is contained in:
parent
346d4eab7d
commit
ca83aa54ed
1 changed files with 10 additions and 1 deletions
|
@ -17,6 +17,16 @@
|
||||||
* structure of the array, it's much easier to explain by showing you.
|
* structure of the array, it's much easier to explain by showing you.
|
||||||
* Be aware that the array is somewhat tricky. I use xmlize all the time,
|
* Be aware that the array is somewhat tricky. I use xmlize all the time,
|
||||||
* but still need to use traverse_xmlize quite often to show me the structure!
|
* but still need to use traverse_xmlize quite often to show me the structure!
|
||||||
|
|
||||||
|
## THIS IS A PHP 5 VERSION:
|
||||||
|
|
||||||
|
> attached is the modified script. Basically it has a new optional parameter
|
||||||
|
> to specify an OUTPUT encoding. If not specified, it defaults to UTF-8.
|
||||||
|
> I recommend you to read this PHP bug. There you can see how PHP4, PHP5.0.0
|
||||||
|
> and PHP5.0.2 will handle this.
|
||||||
|
> http://bugs.php.net/bug.php?id=29711
|
||||||
|
> Ciao, Eloy :-)
|
||||||
|
##
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -162,4 +172,3 @@ function traverse_xmlize($array, $arrName = "array", $level = 0) {
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue