diff options
Diffstat (limited to 'engine/lib/metadata.php')
-rw-r--r-- | engine/lib/metadata.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engine/lib/metadata.php b/engine/lib/metadata.php index 50edd903b..dd678b599 100644 --- a/engine/lib/metadata.php +++ b/engine/lib/metadata.php @@ -95,6 +95,14 @@ return delete_metadata($this->id); } + // SYSTEM LOG INTERFACE //////////////////////////////////////////////////////////// + + /** + * For a given ID, return the object associated with it. + * This is used by the river functionality primarily. + * This is useful for checking access permissions etc on objects. + */ + public function getObjectFromID($id) { return get_metadata($id); } }
/** |