ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:axmls:parseschemastring

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
axmls:parseschemastring [2015/11/16 01:18] mnewnhamv5:axmls:parseschemastring [2019/12/26 06:36] (current) peterdd
Line 2: Line 2:
 ~~NOTOC~~ ~~NOTOC~~
 <WRAP right box> <WRAP right box>
 +== See Also ==
 +[[v5:dictionary:executesqlarray]]\\
 == Syntax == == Syntax ==
-  array ParseSchemaString (+  array parseSchemaString (
     string $xmlstring,     string $xmlstring,
     optional bool $returnSchema = FALSE     optional bool $returnSchema = FALSE
Line 13: 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 [[v5:dictionary:executesqlarray]] method.
v5/axmls/parseschemastring.1447633105.txt.gz · Last modified: 2017/04/21 11:22 (external edit)