mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-30 05:09:06 +02:00
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.
This commit is contained in:
parent
5cd85f6496
commit
784e292d4e
@ -208,6 +208,13 @@ class ViewableData extends Object implements IteratorAggregate {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return ViewableData
|
||||||
|
*/
|
||||||
|
public function getCustomisedObj() {
|
||||||
|
return $this->customisedObject;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param ViewableData $object
|
* @param ViewableData $object
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user