mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
API CHANGE Usage of FieldSet is deprecated, use FieldList instead
This commit is contained in:
parent
bf73265252
commit
b6f88036eb
@ -328,7 +328,7 @@ JS;
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return FieldSet
|
* @return FieldList
|
||||||
*/
|
*/
|
||||||
function createFieldSet() {
|
function createFieldSet() {
|
||||||
$fieldset = new FieldList();
|
$fieldset = new FieldList();
|
||||||
@ -359,7 +359,7 @@ JS;
|
|||||||
* this method.
|
* this method.
|
||||||
*/
|
*/
|
||||||
function getCustomFieldsFor($childData) {
|
function getCustomFieldsFor($childData) {
|
||||||
if($this->detailFormFields instanceof FieldSet) {
|
if($this->detailFormFields instanceof FieldList) {
|
||||||
return $this->detailFormFields;
|
return $this->detailFormFields;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -278,7 +278,7 @@ class TableField extends TableListField {
|
|||||||
* transformation if {@link $IsReadonly} is set, or the current user
|
* transformation if {@link $IsReadonly} is set, or the current user
|
||||||
* doesn't have edit permissions.
|
* doesn't have edit permissions.
|
||||||
*
|
*
|
||||||
* @return FieldSet
|
* @return FieldList
|
||||||
*/
|
*/
|
||||||
function FieldSetForRow() {
|
function FieldSetForRow() {
|
||||||
$fieldset = new FieldList();
|
$fieldset = new FieldList();
|
||||||
@ -624,7 +624,7 @@ class TableField_Item extends TableListField_Item {
|
|||||||
/**
|
/**
|
||||||
* Represents each cell of the table with an attribute.
|
* Represents each cell of the table with an attribute.
|
||||||
*
|
*
|
||||||
* @return FieldSet
|
* @return FieldList
|
||||||
*/
|
*/
|
||||||
function createFields() {
|
function createFields() {
|
||||||
// Existing record
|
// Existing record
|
||||||
|
Loading…
x
Reference in New Issue
Block a user