mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
ENHANCEMENT TableField_Item->createFields() returns FieldSet instead of DataObjectSet (merged from branches/2.3-nzct)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@82075 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
92aecd6ab6
commit
9a43bbc1ed
@ -707,6 +707,8 @@ class TableField_Item extends TableListField_Item {
|
||||
}
|
||||
/**
|
||||
* Represents each cell of the table with an attribute.
|
||||
*
|
||||
* @return FieldSet
|
||||
*/
|
||||
function createFields() {
|
||||
// Existing record
|
||||
@ -799,7 +801,7 @@ class TableField_Item extends TableListField_Item {
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
return new DataObjectSet($this->fields);
|
||||
return new FieldSet($this->fields);
|
||||
}
|
||||
|
||||
function Fields() {
|
||||
|
Loading…
Reference in New Issue
Block a user