PHP Class Recurly_Resource, recurly-client-php

Inheritance: extends Recurly_Base
Mostrar archivo Open project: recurly/recurly-client-php Class Usage Examples

Protected Properties

Property Type Description
$_errors
$_unsavedKeys
$_values

Public Methods

Method Description
__construct ( $href = null, $client = null )
__get ( $key )
__isset ( $k )
__set ( $k, $v )
__unset ( $k )
createDocument ( )
getErrors ( )
getValues ( ) : array Return all of the values associated with this resource.
renderXML ( $doc )
setValues ( $values ) Does a mass assignment on this resource's values
xml ( )

Protected Methods

Method Description
_save ( $method, $uri, $data = null )
getChangedAttributes ( $nested = false )
getNodeName ( )
getRequiredAttributes ( )
getWriteableAttributes ( )
populateXmlDoc ( &$doc, &$node, &$obj, $nested = false )
updateErrorAttributes ( )

Method Details

__construct() public method

public __construct ( $href = null, $client = null )

__get() public method

public __get ( $key )

__isset() public method

public __isset ( $k )

__set() public method

public __set ( $k, $v )

__unset() public method

public __unset ( $k )

_save() protected method

protected _save ( $method, $uri, $data = null )

createDocument() public method

public createDocument ( )

getChangedAttributes() protected method

protected getChangedAttributes ( $nested = false )

getErrors() public method

public getErrors ( )

getNodeName() abstract protected method

abstract protected getNodeName ( )

getRequiredAttributes() protected method

protected getRequiredAttributes ( )

getValues() public method

Return all of the values associated with this resource.
public getValues ( ) : array
return array The array of values stored with this resource.

getWriteableAttributes() abstract protected method

abstract protected getWriteableAttributes ( )

populateXmlDoc() protected method

protected populateXmlDoc ( &$doc, &$node, &$obj, $nested = false )

renderXML() public method

public renderXML ( $doc )

setValues() public method

Does a mass assignment on this resource's values
public setValues ( $values )

updateErrorAttributes() protected method

protected updateErrorAttributes ( )

xml() public method

public xml ( )

Property Details

$_errors protected_oe property

protected $_errors

$_unsavedKeys protected_oe property

protected $_unsavedKeys

$_values protected_oe property

protected $_values