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

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92459 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-11-21 01:43:33 +00:00
parent 48c0418840
commit a099f7906f

View File

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