aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/relationships.php
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-06 10:53:42 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-06 10:53:42 +0000
commit0ee5aeddcb8fd223418c8d0a5afc3df8287201a8 (patch)
tree230d5204d75e0869392e3889aca10dfe3a8dc8e4 /engine/lib/relationships.php
parent7dbc5cd43f911a381011f4d220a8490f3049c27d (diff)
downloadelgg-0ee5aeddcb8fd223418c8d0a5afc3df8287201a8.tar.gz
elgg-0ee5aeddcb8fd223418c8d0a5afc3df8287201a8.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Limit to specific users and/or relationships git-svn-id: https://code.elgg.org/elgg/trunk@818 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/relationships.php')
-rw-r--r--engine/lib/relationships.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/engine/lib/relationships.php b/engine/lib/relationships.php
index 3f053460a..e60e19fdf 100644
--- a/engine/lib/relationships.php
+++ b/engine/lib/relationships.php
@@ -191,6 +191,11 @@
*/
public function getObjectFromID($id) { return get_relationship($id); }
+ /**
+ * Return the GUID of the owner of this object.
+ */
+ public function getObjectOwnerGUID() { return $this->owner_guid; }
+
// ITERATOR INTERFACE //////////////////////////////////////////////////////////////
/*
* This lets an entity's attributes be displayed using foreach as a normal array.