mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR: Removed documentation that is no longer relevant since ajshort's Object::get_static change.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@79107 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
46c135c1d8
commit
116d2a38db
@ -151,12 +151,6 @@ abstract class DataObjectDecorator extends Extension {
|
||||
* Return a map where the keys are db, has_one, etc, and the values are
|
||||
* additional fields/relations to be defined.
|
||||
*
|
||||
* Note: please ensure that the static variable that you are overloading is explicitly defined on the class that
|
||||
* you are extending. For example, we have added static $has_one = array() to the Member definition, so that we
|
||||
* can add has_one relationships to Member with decorators.
|
||||
*
|
||||
* If you forget to do this, db/build won't create the new relation. Don't blame us, blame PHP! ;-)
|
||||
*
|
||||
* @return array Returns a map where the keys are db, has_one, etc, and
|
||||
* the values are additional fields/relations to be defined.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user