mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Updated "Extensions and DataExtensions" Docs
Updated the new notice to make it use more imperative language (credit @NightJar)
This commit is contained in:
parent
61af8b00ab
commit
7ca70d353b
@ -250,7 +250,7 @@ class MyMemberExtension extends DataExtension
|
||||
```
|
||||
|
||||
[notice]
|
||||
Please note that while you can read protected properties of the source object (using `$this->owner->protectedProperty`) you cannot call any of it's protected methods (So this `$this->owner->protectedMethod()` would not work). You also cannot access any of the source object's private properties or methods (So this would not work either `$this->owner->privateProperty`).
|
||||
Please note that while you can read protected properties of the source object (using `$this->owner->protectedProperty`) you cannot call any of it's protected methods (`$this->owner->protectedMethod()` will not work). You also cannot access any of the source object's private properties or methods (`$this->owner->privateProperty` will not work either).
|
||||
[/notice]
|
||||
|
||||
## Checking to see if an Object has an Extension
|
||||
|
Loading…
Reference in New Issue
Block a user