MINOR: Added some more api doku for DataObject::

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62877 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2008-09-23 00:17:58 +00:00
parent fd88d31d9d
commit fcc687fff2

View File

@ -2651,6 +2651,11 @@ class DataObject extends ViewableData implements DataObjectInterface {
* Inserts standard column-values when a DataObject
* is instanciated. Does not insert default records {@see $default_records}.
* This is a map from classname to default value.
*
* - If you would like to change a default value in a sub-class, just specify it.
* - If you would like to disable the default value given by a parent class, set the default value to 0,'',or false in your
* subclass. Setting it to null won't work.
*
* @var array
*/
public static $defaults = null;