mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-02 22:28:37 +02:00
Added PHP doc for the ValidationException thrown by DataObject::write
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63892 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
fc2c16efdf
commit
3f6a86738b
@ -655,6 +655,7 @@ class DataObject extends ViewableData implements DataObjectInterface {
|
|||||||
* (Default: false)
|
* (Default: false)
|
||||||
*
|
*
|
||||||
* @return int The ID of the record
|
* @return int The ID of the record
|
||||||
|
* @throws ValidationException Exception that can be caught and handled by the calling function
|
||||||
*/
|
*/
|
||||||
public function write($showDebug = false, $forceInsert = false, $forceWrite = false, $writeComponents = false) {
|
public function write($showDebug = false, $forceInsert = false, $forceWrite = false, $writeComponents = false) {
|
||||||
$firstWrite = false;
|
$firstWrite = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user