summaryrefslogtreecommitdiff
path: root/includes/database/schema.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2008-09-03 12:04:49 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2008-09-03 12:04:49 +0000
commitdf7bcec717ad586b35b42dc850775e097ce384cc (patch)
treeeec636dda53eca39d99d21ffc196016ca2026d4a /includes/database/schema.inc
parentc17a5e70bca3113bc7e9dbb42c01e9abe47aa063 (diff)
downloadbrdo-df7bcec717ad586b35b42dc850775e097ce384cc.tar.gz
brdo-df7bcec717ad586b35b42dc850775e097ce384cc.tar.bz2
#302395 by chx: Minor DBTNG clean-up.
Diffstat (limited to 'includes/database/schema.inc')
-rw-r--r--includes/database/schema.inc16
1 files changed, 8 insertions, 8 deletions
diff --git a/includes/database/schema.inc b/includes/database/schema.inc
index 4d04a15d6..03114d2cd 100644
--- a/includes/database/schema.inc
+++ b/includes/database/schema.inc
@@ -117,29 +117,29 @@
*/
abstract class DatabaseSchema {
-
+
protected $connection;
-
+
public function __construct($connection) {
$this->connection = $connection;
}
-
+
/**
* Check if a table exists.
*/
abstract public function tableExists($table);
-
+
/**
* Check if a column exists in the given table.
*/
abstract public function columnExists($table, $column);
-
+
/**
* This maps a generic data type in combination with its data size
* to the engine-specific data type.
*/
abstract public function getFieldTypeMap();
-
+
/**
* Rename a table.
*
@@ -161,7 +161,7 @@ abstract class DatabaseSchema {
* The table to be dropped.
*/
abstract public function dropTable(&$ret, $table);
-
+
/**
* Add a new field to a table.
*
@@ -380,7 +380,7 @@ abstract class DatabaseSchema {
$ret[] = update_sql($statement);
}
}
-
+
/**
* Return an array of field names from an array of key/index column specifiers.
*