Location: Program_Root/adodb-xmlschema.php
This class is used to load and parse the XML file, to create an array of SQL statements that can be used to build a database, and to build the database using the SQL array.
$dbconn
=
$dbType
=
$dict
=
$sqlArray
=
$xmlParser
=
void adoSchema()
void Destroy()
integer ExecuteSchema()
array ParseSchema()
Initializes the xmlschema object
[ Top ]
[ Top ]
Accepts an array of SQL queries generated by the parser and executes them.
0 if failed, 1 if errors, 2 if successful
[ Top ]
This method accepts a path to an xmlschema-compliant XML file, loads it, parses it, and uses it to create the SQL to generate the objects described by the XML file.
Array of SQL queries, ready to execute
[ Top ]
[line 394]ADOdb
connection object
[line 399]string
Database type (platform)
[line 404]ADOdb
Data Dictionary
[line 384]array
Array containing SQL queries to generate all objects
[line 389]XML
Parser object