Service/Amazon/Ec2/Response.php

Show: PublicProtectedPrivateinherited
Table of Contents
Zend Framework
LICENSE This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Service_Amazon  
Subpackage
Ec2  
Version
$Id$  

\Zend_Service_Amazon_Ec2_Response

Package: Zend_Service_Amazon\Ec2
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprivate\DOMDocument $_document = null
The response document object
Default valuenullDetails
Type
\DOMDocument
>VPropertyprivateinteger $_errorCode = 0
Last error code
Default value0Details
Type
integer
>VPropertyprivatestring $_errorMessage = ''
Last error message
Default value''Details
Type
string
>VPropertyprivate\Zend_Http_Response $_httpResponse = null
The original HTTP response
This contains the response body and headers.
Default valuenullDetails
Type
\Zend_Http_Response
>VPropertyprotected$_xmlNamespace = 'http://ec2.amazonaws.com/doc/2009-04-04/'
XML namespace used for EC2 responses.
Default value'http://ec2.amazonaws.com/doc/2009-04-04/'Details
Type
n/a
>VPropertyprivate\DOMXPath $_xpath = null
The response XPath
Default valuenullDetails
Type
\DOMXPath

Methods

methodpublic__construct(\Zend_Http_Response $httpResponse) : void

Creates a new high-level EC2 response object

Parameters
NameTypeDescription
$httpResponse\Zend_Http_Response

the HTTP response.

methodpublicgetDocument() : \DOMDocument

Gets the document object for this response

Returns
TypeDescription
\DOMDocumentthe DOM Document for this response.
methodpublicgetNamespace() : string

Return the current set XML Namespace.

Returns
TypeDescription
string
methodpublicgetXPath() : \DOMXPath

Gets the XPath object for this response

Returns
TypeDescription
\DOMXPaththe XPath object for response.
methodpublicsetNamespace(string $namespace) : void

Set a new XML Namespace

Parameters
NameTypeDescription
$namespacestring
Documentation was generated by phpDocumentor 2.2.0 .