silverstripe-framework/model/fieldtypes
Sam Minnée c5616f8724 Merge pull request #487 from nyeholt/injector_bugfixes
Change singleton and strong_create to use dependency injector, with additional fixes to existing classes to behave correctly
2012-05-23 18:46:48 -07:00
..
Boolean.php Merge pull request #487 from nyeholt/injector_bugfixes 2012-05-23 18:46:48 -07:00
CompositeDBField.php MINOR Fixing deprecated use of SQLQuery 2012-05-11 11:39:06 +12:00
Currency.php BUGFIX Versioned's constructor doesn't provide suitable defaults. Previously a bug/feature in singleton, where it would pass null,true as params to strong_create, which would then get passed through as params to Versioned's constructor, meant that the code still executed fine (as was set to something that wasn't an array, so the null and true were instead taken as args). The fact that the usage of singleton(Versioned) never really used the classes code, purely for value lookup, meant that this never propagated errors. I've now switched singleton() to use the injector for retrieving values, which means these dud values are no longer passed through 2012-05-23 21:10:04 +10:00
Date.php BUGFIX Changed Date.php and DateTime.php to use DateTime->Format instead of strtotime to handle extended dates on 32bit environment(fixes #7311) 2012-05-18 16:09:38 +09:00
Datetime.php Merge branch (pull request #247) 'template-global-fixes' of https://github.com/sminnee/sapphire into sminnee-template-global-fixes 2012-05-19 15:39:59 +12:00
DBField.php MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00
DBLocale.php MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00
Decimal.php BUGFIX Versioned's constructor doesn't provide suitable defaults. Previously a bug/feature in singleton, where it would pass null,true as params to strong_create, which would then get passed through as params to Versioned's constructor, meant that the code still executed fine (as was set to something that wasn't an array, so the null and true were instead taken as args). The fact that the usage of singleton(Versioned) never really used the classes code, purely for value lookup, meant that this never propagated errors. I've now switched singleton() to use the injector for retrieving values, which means these dud values are no longer passed through 2012-05-23 21:10:04 +10:00
Double.php MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00
Enum.php Merge pull request #487 from nyeholt/injector_bugfixes 2012-05-23 18:46:48 -07:00
Float.php BUGFIX Versioned's constructor doesn't provide suitable defaults. Previously a bug/feature in singleton, where it would pass null,true as params to strong_create, which would then get passed through as params to Versioned's constructor, meant that the code still executed fine (as was set to something that wasn't an array, so the null and true were instead taken as args). The fact that the usage of singleton(Versioned) never really used the classes code, purely for value lookup, meant that this never propagated errors. I've now switched singleton() to use the injector for retrieving values, which means these dud values are no longer passed through 2012-05-23 21:10:04 +10:00
ForeignKey.php API CHANGE Use of the DropdownField $emptyString argument is now 2012-05-23 22:59:40 +12:00
HTMLText.php MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00
HTMLVarchar.php MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00
Int.php BUGFIX Versioned's constructor doesn't provide suitable defaults. Previously a bug/feature in singleton, where it would pass null,true as params to strong_create, which would then get passed through as params to Versioned's constructor, meant that the code still executed fine (as was set to something that wasn't an array, so the null and true were instead taken as args). The fact that the usage of singleton(Versioned) never really used the classes code, purely for value lookup, meant that this never propagated errors. I've now switched singleton() to use the injector for retrieving values, which means these dud values are no longer passed through 2012-05-23 21:10:04 +10:00
Money.php API CHANGE: Added new config option Money.default_currency. 2012-05-18 16:15:13 +12:00
MultiEnum.php BUGFIX: fix up some E_STRICT errors 2012-04-17 11:51:55 +12:00
Percentage.php BUGFIX Versioned's constructor doesn't provide suitable defaults. Previously a bug/feature in singleton, where it would pass null,true as params to strong_create, which would then get passed through as params to Versioned's constructor, meant that the code still executed fine (as was set to something that wasn't an array, so the null and true were instead taken as args). The fact that the usage of singleton(Versioned) never really used the classes code, purely for value lookup, meant that this never propagated errors. I've now switched singleton() to use the injector for retrieving values, which means these dud values are no longer passed through 2012-05-23 21:10:04 +10:00
PrimaryKey.php Merge pull request #487 from nyeholt/injector_bugfixes 2012-05-23 18:46:48 -07:00
StringField.php MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00
Text.php MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00
Time.php MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00
Varchar.php BUGFIX Versioned's constructor doesn't provide suitable defaults. Previously a bug/feature in singleton, where it would pass null,true as params to strong_create, which would then get passed through as params to Versioned's constructor, meant that the code still executed fine (as was set to something that wasn't an array, so the null and true were instead taken as args). The fact that the usage of singleton(Versioned) never really used the classes code, purely for value lookup, meant that this never propagated errors. I've now switched singleton() to use the injector for retrieving values, which means these dud values are no longer passed through 2012-05-23 21:10:04 +10:00
Year.php MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00