class XmlToAppData
A class that is used to parse an input xml schema file and creates an AppData PHP object.
Constants
DEBUG |
enables debug output |
Methods
__construct(PropelPlatformInterface $defaultPlatform = null, string $defaultPackage = null, string $encoding = 'iso-8859-1')
Creates a new instance for the specified database type. |
||
setGeneratorConfig(GeneratorConfig $generatorConfig)
Set the AppData generator configuration |
||
AppData |
parseFile(string $xmlFile)
Parses a XML input file and returns a newly created and populated AppData structure. |
|
AppData |
parseString(string $xmlString, string $xmlFile = null)
Parses a XML input string and returns a newly created and populated AppData structure. |
|
startElement($parser, $name, $attributes)
Handles opening elements of the xml file. |
||
_throwInvalidTagException($parser, $tag_name) | ||
endElement($parser, $name)
Handles closing elements of the xml file. |
Details
at line 62
public
__construct(PropelPlatformInterface $defaultPlatform = null, string $defaultPackage = null, string $encoding = 'iso-8859-1')
Creates a new instance for the specified database type.
at line 75
public
setGeneratorConfig(GeneratorConfig $generatorConfig)
Set the AppData generator configuration
at line 87
public AppData
parseFile(string $xmlFile)
Parses a XML input file and returns a newly created and populated AppData structure.
at line 105
public AppData
parseString(string $xmlString, string $xmlFile = null)
Parses a XML input string and returns a newly created and populated AppData structure.
at line 142
public
startElement($parser, $name, $attributes)
Handles opening elements of the xml file.
at line 346
public
_throwInvalidTagException($parser, $tag_name)
at line 368
public
endElement($parser, $name)
Handles closing elements of the xml file.