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:
Sam Minnee 2009-06-13 04:41:46 +00:00
parent 46c135c1d8
commit 116d2a38db

View File

@ -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.
*/