ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:axmls:removeschemastring

removeSchemaString

Syntax
array removeSchemaString (
  string $schema,
  optional bool $returnSchema=FALSE
  )

Description

Converts an XML schema string to uninstallation 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 uninstall the database described by the schema.

The method returns an array of SQL queries, ready to execute. The returned SQL must be passed to executeSqlArray

v5/axmls/removeschemastring.txt · Last modified: 2016/01/13 02:26 by mnewnham