summaryrefslogtreecommitdiffstats
path: root/app/class
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2015-12-18 16:24:26 -0500
committerMalf Furious <m@lfurio.us>2015-12-18 16:24:26 -0500
commitd508dacd1b5b293df5d0e71cad9cfd87d9f33ff7 (patch)
tree77e3e4afbea10f260f89e7fa2c5f477872d269ed /app/class
parent00de072a6a90259d20426969ff4d84b2e26959ee (diff)
downloadscrott-d508dacd1b5b293df5d0e71cad9cfd87d9f33ff7.tar.gz
scrott-d508dacd1b5b293df5d0e71cad9cfd87d9f33ff7.zip
+ Added DBObject class -- A non-abstract version of Object class
Diffstat (limited to 'app/class')
-rw-r--r--app/class/object.class.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/class/object.class.php b/app/class/object.class.php
index bae57ea..bcd8dfa 100644
--- a/app/class/object.class.php
+++ b/app/class/object.class.php
@@ -209,4 +209,19 @@ abstract class Object extends Framework
}
}
+/*
+ * Concrete Database Object which can be used in a polymorphic way
+ */
+class DBObject extends Object
+{
+ /*
+ * Constructor
+ */
+ function __construct($guid = null)
+ {
+ parent::__construct();
+ $this->loadObj($guid);
+ }
+}
+
?>