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

Public Member Functions

 __construct (Zend_Http_Response $httpResponse)
 getXPath ()
 getDocument ()
 getNamespace ()
 setNamespace ($namespace)

Protected Attributes

 $_xmlNamespace = 'http://ec2.amazonaws.com/doc/2009-04-04/'

Detailed Description

Definition at line 35 of file Response.php.


Constructor & Destructor Documentation

__construct ( Zend_Http_Response httpResponse)

Creates a new high-level EC2 response object

Parameters:
Zend_Http_Response$httpResponsethe HTTP response.

Definition at line 83 of file Response.php.


Member Function Documentation

Gets the document object for this response

Returns:
DOMDocument the DOM Document for this response.

Definition at line 114 of file Response.php.

Here is the caller graph for this function:

Return the current set XML Namespace.

Returns:
string

Definition at line 148 of file Response.php.

Here is the caller graph for this function:

getXPath ( )

Gets the XPath object for this response

Returns:
DOMXPath the XPath object for response.

Definition at line 93 of file Response.php.

Here is the call graph for this function:

setNamespace ( namespace)

Set a new XML Namespace

Parameters:
string$namespace

Definition at line 158 of file Response.php.


Field Documentation

$_xmlNamespace = 'http://ec2.amazonaws.com/doc/2009-04-04/' [protected]

XML namespace used for EC2 responses.

Definition at line 39 of file Response.php.


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