PHP Interface RESTfulAPI_DeSerializer

Author: Thierry Francois @colymba [email protected]
Afficher le fichier Open project: colymba/silverstripe-restfulapi Interface Usage Examples

Méthodes publiques

Méthode Description
deserialize ( $json ) : array Convert client JSON data to an array of data ready to be consumed by SilverStripe
unformatName ( string $name ) : string Format a ClassName of DBField name sent by client API to be used by SilverStripe

Method Details

deserialize() public méthode

Convert client JSON data to an array of data ready to be consumed by SilverStripe
public deserialize ( $json ) : array
Résultat array Formatted array representation of the JSON data

unformatName() public méthode

Format a ClassName of DBField name sent by client API to be used by SilverStripe
public unformatName ( string $name ) : string
$name string ClassName of DBField name
Résultat string Formatted name