ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:axmls:parseschema

parseSchema

See Also

parseSchemaString()
parseSchemaFile()
executeSchema

Syntax
array parseSchema (
  string $filename, 
  optional bool $returnSchema = FALSE
  )

Description

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 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 executeSchema or executeSqlArray

v5/axmls/parseschema.txt · Last modified: 2019/12/26 06:44 by peterdd