Moodle  2.2.1
http://www.collinsharper.com
Zend_Service_Nirvanix Class Reference

Public Member Functions

 __construct ($authParams, $options=array())
 getService ($namespace, $options=array())
 getOptions ()

Protected Attributes

 $_options

Detailed Description

Definition at line 39 of file Nirvanix.php.


Constructor & Destructor Documentation

__construct ( authParams,
options = array() 
)

Class constructor. Authenticates with Nirvanix to receive a sessionToken, which is then passed to each future request.

Parameters:
array$authParamsAuthentication POST parameters. This should have keys "username", "password", and "appKey".
array$optionsOptions to pass to namespace proxies

Definition at line 56 of file Nirvanix.php.

Here is the call graph for this function:


Member Function Documentation

Get the configured options.

Returns:
array

Definition at line 102 of file Nirvanix.php.

getService ( namespace,
options = array() 
)

Nirvanix divides its service into namespaces, with each namespace providing different functionality. This is a factory method that returns a preconfigured Zend_Service_Nirvanix_Namespace_Base proxy.

Parameters:
string$namespaceName of the namespace
Returns:
Zend_Service_Nirvanix_Namespace_Base

Definition at line 77 of file Nirvanix.php.

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

$_options [protected]

Options to pass to namespace proxies

Parameters:
array

Definition at line 45 of file Nirvanix.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations