From 29dac199c057827876374038993da55c8c35267f Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 6 Oct 2008 15:06:42 +0000 Subject: Refs #402 and #407: Extra fields added to system_log git-svn-id: https://code.elgg.org/elgg/trunk@2188 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/extender.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'engine/lib/extender.php') 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 ////////////////////////////////////////////////////////////// /* -- cgit v1.2.3