v5:axmls:parseschemastring
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
axmls:parseschemastring [2015/12/17 03:42] – mnewnham | v5:axmls:parseschemastring [2019/12/26 06:36] (current) – peterdd | ||
---|---|---|---|
Line 3: | Line 3: | ||
<WRAP right box> | <WRAP right box> | ||
== See Also == | == See Also == | ||
- | [[dictionary: | + | [[v5:dictionary:executesqlarray]]\\ |
== Syntax == | == Syntax == | ||
- | array ParseSchemaString | + | array parseSchemaString |
string $xmlstring, | string $xmlstring, | ||
optional bool $returnSchema = FALSE | optional bool $returnSchema = FALSE | ||
Line 15: | Line 15: | ||
Call this method to parse a string containing an XML schema (see the DTD for the proper format) and generate the SQL necessary to create the database described by the schema. | Call this method to parse a string containing an XML schema (see the DTD for the proper format) and generate the SQL necessary to create the database described by the schema. | ||
- | The method returns an array of SQL queries, ready to execute. | + | The method returns an array of SQL queries, ready to execute, or optionally, the passed in schema string. |
| | ||
- | In order to execute the array of queries, they must be passed to the [[dictionary: | + | In order to execute the array of queries, they must be passed to the [[v5:dictionary:executesqlarray]] method. |
v5/axmls/parseschemastring.1450320136.txt.gz · Last modified: 2017/04/21 11:22 (external edit)