MINOR Added ComplexTableField::setController() which makes testing useful for switching between controllers

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@92134 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2009-11-18 23:53:43 +00:00 committed by Sam Minnee
parent c34ef6d562
commit 047b3deb41

View File

@ -380,6 +380,10 @@ JS;
return $fieldset; return $fieldset;
} }
function setController($controller) {
$this->controller = $controller;
}
/** /**
* Determines on which relation-class the DetailForm is saved * Determines on which relation-class the DetailForm is saved
* by looking at the surrounding form-record. * by looking at the surrounding form-record.