mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
48c0418840
commit
a099f7906f
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user