silverstripe-framework/core
Ingo Schommer 6517f4496b Merge pull request #273 from ajoneil/sapphire
---

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 cant 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.

Conflicts:
	tests/model/DateTest.php
	tests/model/DatetimeTest.php
2012-04-04 16:48:16 +02:00
..
manifest MINOR Fixes to method arguments in core classes for E_STRICT support. 2012-03-28 22:41:42 +13:00
ArrayLib.php BUGFIX Merge request arrays recursively 2011-12-23 17:48:49 +13:00
ClassInfo.php Clean up trailing ?> per coding standard 2012-02-12 12:40:16 -08:00
Config.php ENHANCEMENT: Add config layer - the Config access class itself, and the ConfigManfiest builder which parses in the yaml config files 2012-03-09 18:13:56 +13:00
Convert.php API CHANGE Removed Services_JSON library, as we use the built-in json functions instead. 2012-03-31 13:20:19 +13:00
Core.php MINOR Replaced use of deprecated split() with preg_split() and fixed use of "&new Class()" which is deprecated in PHP 5.3 2012-03-27 23:16:52 +13:00
DAG.php ENHANCEMENT: Add config layer - the Config access class itself, and the ConfigManfiest builder which parses in the yaml config files 2012-03-09 18:13:56 +13:00
Diff.php MINOR Replaced use of deprecated split() with preg_split() and fixed use of "&new Class()" which is deprecated in PHP 5.3 2012-03-27 23:16:52 +13:00
Extension.php ENHANCEMENT Extension arguments are now passed through to add_to_class() 2012-03-12 16:14:47 +13:00
HTMLCleaner.php ENHANCEMENT Allowing custom HTMLCleaner implementations via Diff:: and new TidyHTMLCleaner and PurifierHTMLCleaner classes 2011-03-30 18:02:25 +13:00
Object.php ENHANCEMENT: Allow Object::create() to be called with late static binding. 2012-03-27 17:57:42 +13:00
PaginatedList.php API CHANGE: Introduce SS_Limitable class for adding to SS_Lists that have limit capability. 2012-03-09 17:07:40 +13:00