Service/Amazon/SimpleDb/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
SimpleDb  

\Zend_Service_Amazon_SimpleDb_Response

Package: Zend_Service_Amazon\SimpleDb
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://sdb.amazonaws.com/doc/2009-04-15/'
XML namespace used for SimpleDB responses.
Default value'http://sdb.amazonaws.com/doc/2009-04-15/'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 SimpleDB 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.
methodpublicgetHttpResponse() : \Zend_Http_Response

Get HTTP response object

Returns
TypeDescription
\Zend_Http_Response
methodpublicgetNamespace() : string

Return the current set XML Namespace.

Returns
TypeDescription
string
methodpublicgetSimpleXMLDocument() : \SimpleXMLElement

Gets the SimpleXML document object for this response

Returns
TypeDescription
\SimpleXMLElement
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 .