|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| __construct ($xml) | |
| getSxml () | |
| __get ($offset) | |
| __call ($method, $args) | |
Protected Member Functions | |
| _throwException ($message, $code=null) | |
Protected Attributes | |
| $_sxml | |
Definition at line 34 of file Response.php.
| __construct | ( | $ | xml | ) |
Class constructor. Parse the XML response from a Nirvanix method call into a decorated SimpleXMLElement element.
| string | $xml | XML response string from Nirvanix |
| Zend_Service_Nirvanix_Exception |
Definition at line 50 of file Response.php.

| __call | ( | $ | method, |
| $ | args | ||
| ) |
Delegate undefined methods to the decorated SimpleXMLElement.
| string | $offset | Underfined method name |
| array | $args | Method arguments |
Definition at line 99 of file Response.php.
| __get | ( | $ | offset | ) |
Delegate undefined properties to the decorated SimpleXMLElement.
| string | $offset | Undefined property name |
Definition at line 87 of file Response.php.
| _throwException | ( | $ | message, |
| $ | code = null |
||
| ) | [protected] |
Throw an exception. This method exists to only contain the lazy-require() of the exception class.
| string | $message | Error message |
| integer | $code | Error code |
| Zend_Service_Nirvanix_Exception |
Definition at line 113 of file Response.php.

| getSxml | ( | ) |
Return the SimpleXMLElement representing this response for direct access.
Definition at line 76 of file Response.php.
$_sxml [protected] |
Definition at line 41 of file Response.php.