diff options
Diffstat (limited to 'engine/lib/extender.php')
-rw-r--r-- | engine/lib/extender.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/engine/lib/extender.php b/engine/lib/extender.php index c84f7aef1..f1077b454 100644 --- a/engine/lib/extender.php +++ b/engine/lib/extender.php @@ -161,6 +161,16 @@ */ public function getObjectOwnerGUID() { return $this->owner_guid; } + /** + * Return a type of the object - eg. object, group, user, relationship, metadata, annotation etc + */ + public function getType() { return $this->type; } + + /** + * Return a subtype. For metadata & annotations this is the 'name' and for relationship this is the relationship type. + */ + public function getSubtype() { return $this->name; } + // ITERATOR INTERFACE ////////////////////////////////////////////////////////////// /* |