Ingo Schommer 3862a7a0a7 Moved FormFieldSchemaTrait into FormField
The RFC requires a FormField implementation to override $schemaDataType,
but its defined on the trait - which can't be redefined by a field subclass.

In the end, the trait was never designed to be reuseable on classes other than FormField.
We need to admit that architecturally, we'll have to add all that API weight to the base FormField
class because of the way forms are structured in SilverStripe (mainly due to a missing layer
of indirection in getCMSFields implementations).

Also implemented the $schemaDataType on fields where its known.

See https://github.com/silverstripe/silverstripe-framework/issues/4938
See http://php.net/manual/en/language.oop5.traits.php#language.oop5.traits.properties.example
2016-03-28 21:54:42 +13:00
..
2016-03-21 09:23:40 +13:00
2016-02-23 13:46:28 +13:00
2016-03-09 10:20:31 +13:00
2015-04-30 16:21:33 +12:00
2016-03-09 10:20:31 +13:00
2015-04-30 11:53:02 +12:00
2014-08-19 09:17:15 +12:00
2016-03-09 10:20:31 +13:00
2015-04-30 11:20:46 +12:00
2014-08-19 09:17:15 +12:00
2016-02-23 10:10:02 +13:00
2016-03-09 10:20:31 +13:00