mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Removing DataObject::getAllFields(), use toMap() instead
This commit is contained in:
parent
5f852ae7bc
commit
651d4b3d41
@ -2016,17 +2016,6 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
|
|||||||
return isset($this->record[$field]) ? $this->record[$field] : null;
|
return isset($this->record[$field]) ? $this->record[$field] : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Return a map of all the fields for this record
|
|
||||||
* @deprecated 2.4 Use toMap()
|
|
||||||
*
|
|
||||||
* @return array A map of field names to field values.
|
|
||||||
*/
|
|
||||||
public function getAllFields() {
|
|
||||||
Deprecation::notice('3.0', 'Use toMap() instead.');
|
|
||||||
return $this->toMap();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Loads all the stub fields that an initial lazy load didn't load fully.
|
* Loads all the stub fields that an initial lazy load didn't load fully.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user