메소드 | 설명 | |
---|---|---|
formatName ( string $name ) : string | Format a SilverStripe ClassName of DBField to be used by the client API | |
getcontentType ( ) : string | Return Content-type header definition to be used in the API response | |
serialize ( DataObject | DataList | Array $data ) : string | Convert raw data (DataObject, DataList or Array) to JSON ready to be consumed by the client API |
public formatName ( string $name ) : string | ||
$name | string | ClassName of DBField name |
리턴 | string | Formatted name |
public getcontentType ( ) : string | ||
리턴 | string | Content-type |