SilverStripe\RestfulServer\DataFormatter::getFieldsForObj
Returns all fields on the object which should be shown in the output. Can be customised through {@link self::setCustomFields()}.
Signature
protected function getFieldsForObj(DataObject
$obj )
Parameters
$obj
— object
Returns
- array
Line | Task |
---|---|
299+ | Allow for custom getters on the processed object (currently filtered through inheritedDatabaseFields) |
299+ | Field level permission checks |