summaryrefslogtreecommitdiffstats
path: root/app/class
diff options
context:
space:
mode:
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);
+ }
+}
+
?>