Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
XmlToSqlTool Class Reference
Inheritance diagram for XmlToSqlTool:
CommandLineTool dbXMLtoSQL

Public Member Functions

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

Additional Inherited Members

- Public Attributes inherited from CommandLineTool

Detailed Description

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

Definition at line 19 of file

Member Function Documentation

XmlToSqlTool::execute ( )

Parse an XML database file and output the corresponding SQL statements. See lib/pkp/dtd/xmlSchema.dtd for the format of the XML files.

Definition at line 90 of file

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

XmlToSqlTool::usage ( )

Print command usage information.

Definition at line 75 of file

Referenced by XmlToSqlTool().

XmlToSqlTool::XmlToSqlTool (   $argv = array())


$argvarray command-line arguments If specified, the first argument should be the file to parse

Definition at line 38 of file

References CommandLineTool\$argv, and usage().

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