aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/entities.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/entities.php')
-rw-r--r--engine/lib/entities.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index 3d206f783..f08c58383 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -557,6 +557,11 @@
* This is useful for checking access permissions etc on objects.
*/
public function getObjectFromID($id) { return get_entity($id); }
+
+ /**
+ * Return the GUID of the owner of this object.
+ */
+ public function getObjectOwnerGUID() { return $this->owner_guid; }
// ITERATOR INTERFACE //////////////////////////////////////////////////////////////
/*