API CHANGE Renamed ViewableData->SecurityID() to getSecurityID() in order to get its value loading through Form->loadDataFrom() (from r94178)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@95591 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2009-12-16 05:37:21 +00:00
parent 7aa8f692cc
commit 6be405f189

View File

@ -709,7 +709,7 @@ class ViewableData extends Object implements IteratorAggregate {
*
* @return string
*/
public function SecurityID() {
public function getSecurityID() {
if(!$id = Session::get('SecurityID')) {
$id = rand();
Session::set('SecurityID', $id);