Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
dbXMLtoSQL.php
1 <?php
2 
18 require(dirname(__FILE__) . '/bootstrap.inc.php');
19 
20 import('lib.pkp.classes.cliTool.XmlToSqlTool');
21 
23 define('DATABASE_XML_FILE', 'dbscripts/xml/omp_schema.xml');
24 
25 class dbXMLtoSQL extends XmlToSqlTool {
31  function dbXMLtoSQL($argv = array()) {
32  parent::XmlToSqlTool($argv);
33  }
34 }
35 
36 $tool = new dbXMLtoSQL(isset($argv) ? $argv : array());
37 $tool->execute();
38 
39 ?>
dbXMLtoSQL($argv=array())
Definition: dbXMLtoSQL.php:31
CLI tool to output the SQL statements corresponding to an XML database schema.
Definition: dbXMLtoSQL.php:25
CLI tool to output the SQL statements corresponding to an XML database schema.