From e711cd0bfc1279fe42b75477e6c0a84653f33590 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Wed, 23 Jan 2013 13:49:51 +0000 Subject: [PATCH] Remove trailing white space and update the comments. --- includes/classes/schema.php | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) 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);