From 784e292d4e57b82c372f3db2edbbc6e0e067d4d3 Mon Sep 17 00:00:00 2001 From: Mateusz Uzdowski Date: Thu, 14 Aug 2014 10:28:00 +1200 Subject: [PATCH] API Add a getter for customisedObject property. This is the only way to see if the ViewableData has been customised, and is useful in situations when you want to further customise an already-customised object. --- view/ViewableData.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/view/ViewableData.php b/view/ViewableData.php index 7a6cf5b4c..1f068abc4 100644 --- a/view/ViewableData.php +++ b/view/ViewableData.php @@ -208,6 +208,13 @@ class ViewableData extends Object implements IteratorAggregate { ); } + /** + * @return ViewableData + */ + public function getCustomisedObj() { + return $this->customisedObject; + } + /** * @param ViewableData $object */