aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/extender.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-06 15:06:42 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-06 15:06:42 +0000
commit29dac199c057827876374038993da55c8c35267f (patch)
tree8409cc062309fdddaf14c7f49ab819daf71323a8 /engine/lib/extender.php
parentcd536030453e7390573d16bca824e6edd8d0bfa4 (diff)
downloadelgg-29dac199c057827876374038993da55c8c35267f.tar.gz
elgg-29dac199c057827876374038993da55c8c35267f.tar.bz2
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
Diffstat (limited to 'engine/lib/extender.php')
-rw-r--r--engine/lib/extender.php10
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 //////////////////////////////////////////////////////////////
/*