ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:axmls:parseschema

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
Last revisionBoth sides next revision
axmls:parseschema [2015/12/19 18:14] mnewnhamv5: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:parseschemastring|ParseSchemaString()]]\\ +[[v5:axmls:parseschemastring|ParseSchemaString()]]\\ 
-[[axmls:executeSchema()]]\\+[[v5:axmls:executeschema]]\\
 == Syntax == == Syntax ==
  
   array parseSchema (   array parseSchema (
-    mixed $filename,  +    string $filename,  
-    optional bool $returnSchema = FALSE+    optional bool $returnSchema = FALSE
-    optional string $file+
     )     )
 </WRAP> </WRAP>
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:executeSqlArray()]]+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