ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:axmls:parseschemafile

Differences

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

Link to this comparison view

Next revision
Previous revision
axmls:parseschemafile [2015/11/05 02:36] – created mnewnhamv5:axmls:parseschemafile [2019/12/26 06:50] (current) – see also parseSchema(), parseSchemaString() peterdd
Line 1: Line 1:
-array ParseSchemaFile (mixed $filename, [bool $returnSchema = FALSE], string $file)+====== parseSchemaFile ====== 
 +~~NOTOC~~ 
 +<WRAP right box> 
 +== See Also == 
 +[[v5:axmls:parseschema|parseSchema()]]\\ 
 +[[v5:axmls:parseschemastring|parseSchemaString()]]\\ 
 +[[v5:axmls:extractschema]]\\ 
 +[[v5:dictionary:executesqlarray]]\\ 
 +==Syntax== 
 +  array parseSchemaFile ( 
 +    mixed $filename, 
 +    optional bool $returnSchema = false 
 +    ) 
 +</WRAP>     
 +Loads an XML schema from a file and converts it to SQL. 
 + 
 +Call this method to load the specified schema from a file (see the DTD for the proper formatand generate the SQL necessary to create the database described by the schema. 
 + 
 +If the optional parameter ''$returnSchema'' is set to true, then the schema is returned rather than the SL statements. 
 + 
 +In order to actually process the SQL statements, the returned array must be passed into the [[v5:dictionary:executesqlarray]] method 
 + 
 + 
v5/axmls/parseschemafile.1446687392.txt.gz · Last modified: 2017/04/21 11:22 (external edit)