Class CurlCaller

Description

Calls API methods using REST requests using cURL.

Located in /src/caller/CurlCaller.php (line 9)

Caller
   |
   --CurlCaller
Method Summary
static Caller getInstance ()
void __destruct ()
SimpleXMLElement internalCall ( $params, [string $requestMethod = 'GET'], string $query)
Variables

Inherited Variables

Inherited from Caller

Caller::$apiKey
Caller::$apiSecret
Caller::$cache
Methods
static method getInstance (line 59)

Get a Caller instance.

  • return: A Caller instance.
  • access: public
static Caller getInstance ()

Redefinition of:
Caller::getInstance()
Get a Caller instance.
Destructor __destruct (line 49)

Destructor that deinitializes cURL.

  • access: public
void __destruct ()
internalCall (line 76)

Send a query using a specified request-method.

  • return: A SimpleXMLElement object.
  • access: protected
SimpleXMLElement internalCall ( $params, [string $requestMethod = 'GET'], string $query)
  • string $query: Query to send. (Required)
  • string $requestMethod: Request-method for calling (defaults to 'GET'). (Optional)
  • $params

Redefinition of:
Caller::internalCall()
Send a query using a specified request-method.

Inherited Methods

Inherited From Caller

Caller::call()
Caller::getApiKey()
Caller::getApiSecret()
Caller::getCache()
Caller::getInstance()
Caller::internalCall()
Caller::setApiKey()
Caller::setApiSecret()
Caller::setCache()
Caller::signedCall()
Class Constants

Inherited Constants

Inherited from Caller

Caller::API_URL

Documentation generated on Mon, 22 Dec 2008 16:57:34 +0100 by phpDocumentor 1.4.1