Свойство | Type | Description | |
---|---|---|---|
$class_map | Mapping of XML node to PHP object name |
Свойство | Type | Description | |
---|---|---|---|
$_client | |||
$_href | |||
$_links |
Méthode | Description | |
---|---|---|
__construct ( $href = null, $client = null ) | ||
__toString ( ) | Pretty string version of the object | |
_get ( $uri, $client = null ) | Request the URI, validate the response and return the object. | |
getHref ( ) | ||
getLinks ( ) | ||
setHref ( $href ) |
Méthode | Description | |
---|---|---|
__parseResponseToNewObject ( $response, $uri, $client ) | Use a valid Recurly_Response to populate a new object. | |
__parseXmlToObject ( $node, &$object ) | ||
__parseXmlToUpdateObject ( $xml ) | Use the XML to update $this object. | |
__valuesString ( ) | ||
_afterParseResponse ( $response, $uri ) | Optional method to allow objects access to the full response with headers. | |
_delete ( $uri, $client = null ) | Delete the URI, validate the response and return the object. | |
_post ( $uri, $data = null, $client = null ) | Post to the URI, validate the response and return the object. | |
_put ( $uri, $client = null ) | Put to the URI, validate the response and return the object. | |
_uriWithParams ( $uri, $params = null ) |
Méthode | Description | |
---|---|---|
__createNodeObject ( $node ) | ||
addLink ( $name, $href, $method ) | ||
parseErrorNode ( $node ) |
protected static __parseResponseToNewObject ( $response, $uri, $client ) |
protected static __parseXmlToObject ( $node, &$object ) |
protected __parseXmlToUpdateObject ( $xml ) |
protected _afterParseResponse ( $response, $uri ) |
protected static _delete ( $uri, $client = null ) |
public static _get ( $uri, $client = null ) |
protected static _post ( $uri, $data = null, $client = null ) |
protected static _put ( $uri, $client = null ) |