From d508dacd1b5b293df5d0e71cad9cfd87d9f33ff7 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Fri, 18 Dec 2015 16:24:26 -0500 Subject: + Added DBObject class -- A non-abstract version of Object class --- app/class/object.class.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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); + } +} + ?> -- cgit v1.2.3