Service/Amazon/Ec2/Response.php
- category
- Zend
- copyright
- Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- license
- http://framework.zend.com/license/new-bsd New BSD License
- package
- Zend_Service_Amazon
- subpackage
- Ec2
- version
- $Id: Response.php 20096 2010-01-06 02:05:09Z bkarwin $
- Classes
- Zend_Service_Amazon_Ec2_Response
Description
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.
Zend_Service_Amazon_Ec2_Response
- category
- Zend
- copyright
- Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
- license
- http://framework.zend.com/license/new-bsd New BSD License
- package
- Zend_Service_Amazon
- subpackage
- Ec2
- Properties
- $_xmlNamespace
- $_httpResponse
- $_document
- $_xpath
- $_errorCode
- $_errorMessage
- Methods
- __construct
- getXPath
- getDocument
- getNamespace
- setNamespace
Description
Properties
DOMDocument $_document = 'null'
The response document object
Details
- $_document
- DOMDocument
- visibility
- private
- default
- null
- final
- false
- static
- false
integer $_errorCode = '0'
Last error code
Details
- $_errorCode
- integer
- visibility
- private
- default
- 0
- final
- false
- static
- false
string $_errorMessage = ''
Last error message
Details
- $_errorMessage
- string
- visibility
- private
- default
- final
- false
- static
- false
Zend_Http_Response $_httpResponse = 'null'
The original HTTP response
This contains the response body and headers.
Details
- $_httpResponse
-
Zend_Http_Response
- visibility
- private
- default
- null
- final
- false
- static
- false
$_xmlNamespace = 'http://ec2.amazonaws.com/doc/2009-04-04/'
XML namespace used for EC2 responses.
Details
- visibility
- protected
- default
- http://ec2.amazonaws.com/doc/2009-04-04/
- final
- false
- static
- false
DOMXPath $_xpath = 'null'
The response XPath
Details
- $_xpath
- DOMXPath
- visibility
- private
- default
- null
- final
- false
- static
- false
Methods
__construct(
Zend_Http_Response $httpResponse
)
:
Creates a new high-level EC2 response object
Arguments
- $httpResponse
- Zend_Http_Response
the HTTP response.
Details
- visibility
- public
- final
- false
- static
- false
getDocument(
)
:
DOMDocument
Gets the document object for this response
Output
- DOMDocument
- the DOM Document for this response.
Details
- visibility
- public
- final
- false
- static
- false
getNamespace(
)
:
string
Return the current set XML Namespace.
Details
- visibility
- public
- final
- false
- static
- false
getXPath(
)
:
DOMXPath
Gets the XPath object for this response
Output
- DOMXPath
- the XPath object for response.
Details
- visibility
- public
- final
- false
- static
- false
setNamespace(
string $namespace
)
:
Set a new XML Namespace
Arguments
- $namespace
- string
Details
- visibility
- public
- final
- false
- static
- false