Class SocketCaller

Description

Calls API methods using REST requests using PHP sockets.

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

Caller
   |
   --SocketCaller
Method Summary
static Caller getInstance ()
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 38)

Get a Caller instance.

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

Redefinition of:
Caller::getInstance()
Get a Caller instance.
internalCall (line 55)

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:43 +0100 by phpDocumentor 1.4.1