API Documentation

Zend/Service/Amazon/SimpleDb/Response.php

Show: inherited
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-2012 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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprivate\DOMDocument  $_document= 'null'

The response document object

Default valuenullDetails
Type
\DOMDocument
Propertyprivateinteger  $_errorCode= '0'

Last error code

Default value0Details
Type
integer
Propertyprivatestring  $_errorMessage= ''''

Last error message

Default value''Details
Type
string
Propertyprivate\Zend_Http_Response  $_httpResponse= 'null'

The original HTTP response

This contains the response body and headers.

Default valuenullDetails
Type
\Zend_Http_Response
Propertyprotected  $_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
Propertyprivate\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
Name Type Description
$httpResponse \Zend_Http_Response

the HTTP response.

methodpublicgetDocument( ) : \DOMDocument

Gets the document object for this response

Returns
Type Description
\DOMDocument the DOM Document for this response.
methodpublicgetHttpResponse( ) : \Zend_Http_Response

Get HTTP response object

Returns
Type Description
\Zend_Http_Response
methodpublicgetNamespace( ) : string

Return the current set XML Namespace.

Returns
Type Description
string
methodpublicgetSimpleXMLDocument( ) : \SimpleXMLElement

Gets the SimpleXML document object for this response

Returns
Type Description
\SimpleXMLElement
methodpublicgetXPath( ) : \DOMXPath

Gets the XPath object for this response

Returns
Type Description
\DOMXPath the XPath object for response.
methodpublicsetNamespace( string $namespace ) : void

Set a new XML Namespace

Parameters
Name Type Description
$namespace string
Documentation was generated by DocBlox 0.15.1.