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

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