Browse Source

Remove trailing white space and update the comments.

Mark Crane 12 years ago
parent
commit
af498f5c47
1 changed files with 12 additions and 4 deletions
  1. 12 4
      includes/classes/schema.php

+ 12 - 4
includes/classes/schema.php

@@ -17,7 +17,7 @@
 
 	The Initial Developer of the Original Code is
 	Mark J Crane <[email protected]>
-	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();
 				}
 			}
-	}
+	}
+
+//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);