\Simplify_DataToken

Base class for all domain objects.

Summary

Methods
Properties
Constants
createDataToken()
findDataToken()
setAll()
getProperties()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$properties
N/A

Properties

$properties

$properties

Methods

createDataToken()

createDataToken(array $hash, mixed $authentication) : \DataToken

Creates an Simplify_DataToken object

Parameters

array $hash

a map of parameters; valid keys are:

mixed $authentication
  • information used for the API call. If no value is passed the global keys Simplify::public_key and Simplify::private_key are used. For backwards compatibility the public and private keys may be passed instead of the authentication object.<i/>

Returns

\DataToken —

a DataToken object.

findDataToken()

findDataToken( $id, mixed $authentication) : \DataToken

Retrieve a Simplify_DataToken object from the API

Parameters

$id
mixed $authentication
  • information used for the API call. If no value is passed the global keys Simplify::public_key and Simplify::private_key are used. For backwards compatibility the public and private keys may be passed instead of the authentication object.

Returns

\DataToken —

a DataToken object

setAll()

setAll(mixed $hash)

Updates the object's properties with the values in the specified map.

Parameters

mixed $hash

array Map of values to set.

getProperties()

getProperties() : array

Returns the object's properties as a map.

Returns

array —

map of properties.