mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
API CHANGE Removed @deprecated 2.3 method Form::loadNonBlankDataFrom(): Please use Form::loadDataFrom() instead
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@77354 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
230a70b0b7
commit
1122e42d35
@ -51,7 +51,7 @@ class Form extends RequestHandler {
|
|||||||
protected static $current_action;
|
protected static $current_action;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var Dataobject $record Populated by {@link loadDataFrom()} or {@link loadNonBlankDataFrom()}.
|
* @var Dataobject $record Populated by {@link loadDataFrom()}.
|
||||||
*/
|
*/
|
||||||
protected $record;
|
protected $record;
|
||||||
|
|
||||||
@ -792,7 +792,7 @@ class Form extends RequestHandler {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the DataObject that has given this form its data
|
* Returns the DataObject that has given this form its data
|
||||||
* through {@link loadDataFrom()} or {@link loadNonBlankDataFrom()}.
|
* through {@link loadDataFrom()}.
|
||||||
*
|
*
|
||||||
* @return DataObject
|
* @return DataObject
|
||||||
*/
|
*/
|
||||||
@ -921,13 +921,6 @@ class Form extends RequestHandler {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated 2.3 Use loadDataFrom()
|
|
||||||
*/
|
|
||||||
function loadNonBlankDataFrom($data) {
|
|
||||||
return $this->loadDataFrom($data);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Save the contents of this form into the given data object.
|
* Save the contents of this form into the given data object.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user