v5:axmls:parseschema
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:parseschema [2015/12/19 18:14] – mnewnham | v5:axmls:parseschema [2019/12/26 06:33] – remove nonexistent 3rd parameter peterdd | ||
---|---|---|---|
Line 3: | Line 3: | ||
<WRAP right box> | <WRAP right box> | ||
== See Also == | == See Also == | ||
- | [[axmls: | + | [[v5:axmls: |
- | [[axmls:executeSchema()]]\\ | + | [[v5:axmls:executeschema]]\\ |
== Syntax == | == Syntax == | ||
array parseSchema ( | array parseSchema ( | ||
- | | + | |
- | optional bool $returnSchema = FALSE, | + | optional bool $returnSchema = FALSE |
- | optional string $file | + | |
) | ) | ||
</ | </ | ||
Line 19: | Line 18: | ||
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. | ||
- | The method returns an array of SQL queries, ready to execute. The returned array must be executed using [[axmls:executeSchema()]] or [[dictionary: | + | The method returns an array of SQL queries, ready to execute. The returned array must be executed using [[v5:axmls:executeschema]] or [[v5:dictionary:executesqlarray]] |
v5/axmls/parseschema.txt · Last modified: 2019/12/26 06:44 by peterdd