From 0ee5aeddcb8fd223418c8d0a5afc3df8287201a8 Mon Sep 17 00:00:00 2001 From: icewing Date: Fri, 6 Jun 2008 10:53:42 +0000 Subject: Marcus Povey * Limit to specific users and/or relationships git-svn-id: https://code.elgg.org/elgg/trunk@818 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/relationships.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'engine/lib/relationships.php') 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. -- cgit v1.2.3