v5:axmls:parseschemastring
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
axmls:parseschemastring [2015/11/16 00:39] – mnewnham | v5:axmls:parseschemastring [2016/01/13 02:26] – ↷ Page moved from axmls:parseschemastring to v5:axmls:parseschemastring mnewnham | ||
---|---|---|---|
Line 2: | Line 2: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
<WRAP right box> | <WRAP right box> | ||
+ | == See Also == | ||
+ | [[v5: | ||
== Syntax == | == Syntax == | ||
array ParseSchemaString ( | array ParseSchemaString ( | ||
Line 7: | Line 9: | ||
optional bool $returnSchema = FALSE | optional bool $returnSchema = FALSE | ||
) | ) | ||
- | </ | + | </ |
+ | ===== Description ===== | ||
+ | Converts an XML schema string to SQL. | ||
+ | |||
+ | 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, or optionally, the passed in schema string. | ||
+ | |||
+ | In order to execute the array of queries, they must be passed to the [[v5: |
v5/axmls/parseschemastring.txt · Last modified: 2019/12/26 06:36 by peterdd