diff --git a/includes/classes/schema.php b/includes/classes/schema.php index 668eba1303..83b86488e7 100644 --- a/includes/classes/schema.php +++ b/includes/classes/schema.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Copyright (C) 2010 + Copyright (C) 2013 All Rights Reserved. Contributor(s): @@ -25,7 +25,7 @@ */ include "root.php"; -//define the follow me class +//define the schema class class schema { public $db; public $apps; @@ -90,7 +90,7 @@ include "root.php"; } } if ($this->db_type == "mysql") { - $sql .= ") ENGINE=INNODB;"; + $sql .= ") ENGINE=INNODB;"; } else { $sql .= ");"; @@ -118,4 +118,12 @@ include "root.php"; $this->db->commit(); } } - } \ No newline at end of file + } + +//example use + //require_once "includes/classes/schema.php"; + //$schema = new schema; + //$schema->db_type = $db_type; + //$schema->sql(); + //$result_array = $schema->result['sql']; + //print_r($result_array);