Converts a XML DOM structure to an array.
This function can convert any DOM structure to an array. It might be used for loading and saving settings to a config file.
| Name | Pass type | Value type | Default value | Description |
|---|---|---|---|---|
| $node | by reference | \DOMNode |
The parent node of the DOM structure to be converted to the array. |
|
| $array | by reference | array |
The tagrget array to be filled from the DOM structure. |