Property | Type | Description | |
---|---|---|---|
$parsedFiles | array | Associative array of "filename => parsed data" pairs. |
Method | Description | |
---|---|---|
getParsedData ( string $sourcePath ) : array | Returns parsed representation of XML file. |
Method | Description | |
---|---|---|
doParsingFromRoot ( SimpleXMLElement $root ) : array | Returns array representation of XML data, starting from a root node. | |
parseXmlFile ( string $sourcePath ) : array | Reads and parses XML file and returns internal representation of data. |
abstract protected doParsingFromRoot ( SimpleXMLElement $root ) : array | ||
$root | SimpleXMLElement | A root node |
return | array | An array representing parsed XML file (structure depends on concrete parser) |
public getParsedData ( string $sourcePath ) : array | ||
$sourcePath | string | An absolute path to XML file |
return | array | Parsed XML file |
protected parseXmlFile ( string $sourcePath ) : array | ||
$sourcePath | string | An absolute path to XML file |
return | array | Parsed XML file |
protected array $parsedFiles | ||
return | array |