v5:axmls:parseschemafile
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
axmls:parseschemafile [2015/12/15 02:48] – mnewnham | axmls:parseschemafile [2015/12/17 03:38] – mnewnham | ||
---|---|---|---|
Line 3: | Line 3: | ||
<WRAP right box> | <WRAP right box> | ||
== See Also == | == See Also == | ||
- | [[axmls: | + | [[axmls: |
+ | [[dictionary: | ||
==Syntax== | ==Syntax== | ||
array parseSchemaFile ( | array parseSchemaFile ( | ||
mixed $filename, | mixed $filename, | ||
- | optional bool $returnSchema = FALSE, | + | optional bool $returnSchema = FALSE ) |
- | optional string $file | + | |
- | ) | + | |
</ | </ | ||
Loads an XML schema from a file and converts it to SQL. | Loads an XML schema from a file and converts it to SQL. | ||
Call this method to load the specified schema from a file (see the DTD for the proper format) and generate the SQL necessary to create the database described by the schema. | Call this method to load the specified schema from a file (see the DTD for the proper format) and generate the SQL necessary to create the database described by the schema. | ||
+ | |||
+ | If the optional parameter '' | ||
+ | |||
+ | In order to actually process the SQL statements, the returned array must be passed into the [[dictionary: | ||
+ | |||
+ | |||
v5/axmls/parseschemafile.txt · Last modified: 2019/12/26 06:50 by peterdd