silverstripe-framework/docs/en/changelogs/3.2.0.md

27 lines
525 B
Markdown
Raw Normal View History

2013-10-23 10:10:42 +02:00
# 3.2.0 (unreleased)
## Overview
* Minimum PHP version raised to 5.3.3
* DataObject::validate() method visibility changed to public
2013-10-23 10:10:42 +02:00
## Changelog
### DataObject::validate() method visibility changed to public
The visibility of `DataObject::validate()` has been changed from `protected` to `public`.
Any existing classes that currently set this as `protected` should be changed like in
this example:
::php
class MyDataClass extends DataObject {
...
public function validate() {
...
}
...
}
### Bugfixes