diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/class/object.class.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/class/object.class.php b/app/class/object.class.php index 8f64fc4..1a01ada 100644 --- a/app/class/object.class.php +++ b/app/class/object.class.php @@ -595,6 +595,14 @@ abstract class Object extends Framework } /* + * Get URL to this object + */ + function getURL() + { + return $this->ar() . "/" . $this->guid; + } + + /* * Get object's head image */ function getHeadImage() |