silverstripe/sapphire — pull request #273 by ajoneil (2012-03-27 05:03:04+00:00)
Title: ENHANCEMENT: Allow Object::create() to be called with late static binding.

This allows DataList::create('SiteTree') as equivalent to Object::create('DataList', 'SiteTree'), without
having to have a create() function on DataList.

Required for E_STRICT compliance, as child classes can't override create() if they change the arguments.

DBField::create() is also renamed to DBField::create_field(), as this does not just call the constructor, which all other cases of create() do.