summaryrefslogtreecommitdiffstats
path: root/app/class/database.iface.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/class/database.iface.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/class/database.iface.php b/app/class/database.iface.php
new file mode 100644
index 0000000..dcd64ba
--- /dev/null
+++ b/app/class/database.iface.php
@@ -0,0 +1,13 @@
+<?php
+
+/*
+ * Generic interface for the various database drivers Scrott may implement support for
+ */
+interface Database
+{
+ function close();
+ function query($query);
+ function esc($string);
+}
+
+?>