silverstripe-framework/model/fieldtypes
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
..
Boolean.php Clean up trailing ?> per coding standard 2012-02-12 12:40:16 -08:00
CompositeDBField.php ENHANCEMENT: Allow Object::create() to be called with late static binding. 2012-03-27 17:57:42 +13:00
Currency.php MINOR Fixes to method arguments in core classes for E_STRICT support. 2012-03-28 22:41:42 +13:00
Date.php MINOR Fixes to method arguments in core classes for E_STRICT support. 2012-03-28 22:41:42 +13:00
Datetime.php Merge pull request #273 from ajoneil/sapphire 2012-04-04 16:48:16 +02:00
DBField.php ENHANCEMENT: Allow Object::create() to be called with late static binding. 2012-03-27 17:57:42 +13:00
DBLocale.php Clean up trailing ?> per coding standard 2012-02-12 12:40:16 -08:00
Decimal.php Clean up trailing ?> per coding standard 2012-02-12 12:40:16 -08:00
Double.php API CHANGE Rearranged files in sapphire to reflect core dependencies more accurately, and have the tests/ folder mirror its folder structure 2011-03-31 09:56:21 +13:00
Enum.php Using deprecated StringField::Upper() and StringField::Lower(). Calling $MyEnumField.Upper on the template returns an unresolvable deprecation error. 2012-04-03 15:58:17 -03:00
Float.php API CHANGE Rearranged files in sapphire to reflect core dependencies more accurately, and have the tests/ folder mirror its folder structure 2011-03-31 09:56:21 +13:00
ForeignKey.php BUGFIX Don't scaffold has_one relations into a DropdownField in ForeignKey->scaffoldFormField() if more than 100 records would be created, to avoid exceeding PHP memory (fixes #6776) 2012-03-09 15:58:46 +01:00
HTMLText.php MINOR Fixes to method arguments in core classes for E_STRICT support. 2012-03-28 22:41:42 +13:00
HTMLVarchar.php BUGFIX Better handling of multibyte strings in LimitCharacters(), removed code duplication by more flexible base implementation at StringField->LimitCharacters() (Merge pull request #121 from edlund/sapphire) 2011-12-17 00:40:13 +01:00
Int.php Clean up trailing ?> per coding standard 2012-02-12 12:40:16 -08:00
Money.php ENHANCEMENT: Allow Object::create() to be called with late static binding. 2012-03-27 17:57:42 +13:00
MultiEnum.php MINOR Removing executable flag from all files (thanks miiihi) 2011-09-18 22:04:02 +02:00
Percentage.php Clean up trailing ?> per coding standard 2012-02-12 12:40:16 -08:00
PrimaryKey.php Clean up trailing ?> per coding standard 2012-02-12 12:40:16 -08:00
StringField.php ENHANCEMENT Introduce Database::prepStringForDB(), used by 2012-03-20 21:20:35 +13:00
Text.php Clean up trailing ?> per coding standard 2012-02-12 12:40:16 -08:00
Time.php Clean up trailing ?> per coding standard 2012-02-12 12:40:16 -08:00
Varchar.php Replace ereg with preg_* 2012-02-27 22:14:02 +01:00
Year.php Clean up trailing ?> per coding standard 2012-02-12 12:40:16 -08:00