dbXMLtoSQL Class Reference
[Tools]

CLI tool to output the SQL statements corresponding to an XML database schema. More...

Inheritance diagram for dbXMLtoSQL:

CommandLineTool

List of all members.

Public Member Functions

 dbXMLtoSQL ($argv=array())
 execute ()
 usage ()


Detailed Description

CLI tool to output the SQL statements corresponding to an XML database schema.

Definition at line 26 of file dbXMLtoSQL.php.


Member Function Documentation

dbXMLtoSQL.dbXMLtoSQL ( argv = array()  ) 

Constructor.

Parameters:
$argv array command-line arguments If specified, the first argument should be the file to parse

Definition at line 45 of file dbXMLtoSQL.php.

References CommandLineTool.$argv, and usage().

dbXMLtoSQL.execute (  ) 

Parse an XML database file and output the corresponding SQL statements. See dbscripts/xml/xmlschema.dtd for the format of the XML files.

Definition at line 97 of file dbXMLtoSQL.php.

References DBConnection.getConn(), and Config.getVar().

dbXMLtoSQL.usage (  ) 

Print command usage information.

Reimplemented from CommandLineTool.

Definition at line 82 of file dbXMLtoSQL.php.

Referenced by dbXMLtoSQL().


The documentation for this class was generated from the following file:

Generated on Mon Jul 14 10:55:41 2008 for Open Journal Systems by  doxygen 1.5.6