diff options
author | Malf Furious <m@lfurio.us> | 2015-12-18 16:24:26 -0500 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2015-12-18 16:24:26 -0500 |
commit | d508dacd1b5b293df5d0e71cad9cfd87d9f33ff7 (patch) | |
tree | 77e3e4afbea10f260f89e7fa2c5f477872d269ed /app | |
parent | 00de072a6a90259d20426969ff4d84b2e26959ee (diff) | |
download | scrott-d508dacd1b5b293df5d0e71cad9cfd87d9f33ff7.tar.gz scrott-d508dacd1b5b293df5d0e71cad9cfd87d9f33ff7.zip |
+ Added DBObject class -- A non-abstract version of Object class
Diffstat (limited to 'app')
-rw-r--r-- | app/class/object.class.php | 15 |
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); + } +} + ?> |