From 6e91017d178258558fa90f51fa1e1cdb0780963e Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 8 Jan 2009 03:29:44 +0000 Subject: [PATCH] MINOR Added Extension->getOwner() git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@69889 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/Extension.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/core/Extension.php b/core/Extension.php index c3fd9e134..89e0b17a7 100644 --- a/core/Extension.php +++ b/core/Extension.php @@ -26,6 +26,15 @@ abstract class Extension extends Object { function setOwner(Object $owner) { $this->owner = $owner; } + + /** + * Returns the owner of this decorator + * + * @return Object + */ + public function getOwner() { + return $this->owner; + } } ?> \ No newline at end of file