contenido\classes\xml\class.xml2array.php
Project:
Contenido Content Management System
Description: Converts XML data to PHP array
Requirements:
- Author
- Marco Jahn
- Con_php_req
- 5.0
- Copyright
- four for business AG
- License
- http://www.contenido.org/license/LIZENZ.txt
- Link
- http://www.4fb.de
- Link
- {@internal created $Id: class.xml2array.php 738 2008-08-27 10:21:19Z timo.trautmann $: }}
- Package
- Contenido Backend classes
- Version
- 1.0
\cApiXml2Array
Package: Default


Properties
Methods


_recNode2Array(string $domnode, $aMergeTags) : array
Recursive function to walk through dom and create array
Parameters
Returns
Details
Name | Type | Description |
---|---|---|
$domnode | string | xml |
$aMergeTags |
Type | Description |
---|---|
array | result |
- Access
- private


getResult(array $aMergeTags = array()) : array
Get result array
Parameters
Returns
Details
Name | Type | Description |
---|---|---|
$aMergeTags | array | aMergeTags Defines the tag names to merge |
Type | Description |
---|---|
array | containing data as array or false |
- Access
- public


loadData(string $sXML) : boolean
load XML Data
Parameters
Returns
Details
Name | Type | Description |
---|---|---|
$sXML | string | XML data |
Type | Description |
---|---|
boolean |
- Access
- public