PHP Class CS_REST_NativeJsonSerialiser, createsend-php

Inheritance: extends CS_REST_BaseSerialiser
Mostra file Open project: campaignmonitor/createsend-php Class Usage Examples

Public Methods

Method Description
deserialise ( $text )
get_format ( )
get_type ( )
serialise ( $data )
strip_surrounding_quotes ( $data ) We've had sporadic reports of people getting ID's from create routes with the surrounding quotes present.

Method Details

deserialise() public method

public deserialise ( $text )

get_format() public method

public get_format ( )

get_type() public method

public get_type ( )

serialise() public method

public serialise ( $data )

strip_surrounding_quotes() public method

There is no case where these should be present. Just get rid of it.
public strip_surrounding_quotes ( $data )