Class Amazon_SimpleDB_Model_ErrorResponse

Description

Amazon_SimpleDB_Model_ErrorResponse

Properties:

  • Error: Amazon_SimpleDB_Model_Error
  • RequestId: string

Located in /Model/ErrorResponse.php (line 41)

Amazon_SimpleDB_Model
   |
   --Amazon_SimpleDB_Model_ErrorResponse
Method Summary
Amazon_SimpleDB_Model_ErrorResponse __construct ([mixed $data = null])
array getError ()
string getRequestId ()
bool isSetError ()
bool isSetRequestId ()
this setError (mixed $error)
this setRequestId (string $value)
string toXML ()
Variables

Inherited Variables

Inherited from Amazon_SimpleDB_Model

Amazon_SimpleDB_Model::$_fields
Methods
static method fromXML (line 74)

Construct Amazon_SimpleDB_Model_ErrorResponse from XML string

  • access: public
static Amazon_SimpleDB_Model_ErrorResponse fromXML (string $xml)
  • string $xml: XML string to construct from
Constructor __construct (line 58)

Construct new Amazon_SimpleDB_Model_ErrorResponse

  • access: public
Amazon_SimpleDB_Model_ErrorResponse __construct ([mixed $data = null])
  • mixed $data:

    DOMElement or Associative Array to construct from.

    Valid properties:

    • Error: Amazon_SimpleDB_Model_Error
    • RequestId: string


Redefinition of:
Amazon_SimpleDB_Model::__construct()
Construct new model class
getError (line 95)

Gets the value of the Error.

  • return: of Error Error
  • access: public
array getError ()
getRequestId (line 149)

Gets the value of the RequestId property.

  • return: RequestId
  • access: public
string getRequestId ()
isSetError (line 139)

Checks if Error list is non-empty

  • return: true if Error list is non-empty
  • access: public
bool isSetError ()
isSetRequestId (line 184)

Checks if RequestId is set

  • return: true if RequestId is set
  • access: public
bool isSetRequestId ()
setError (line 106)

Sets the value of the Error.

  • return: instance
  • access: public
this setError (mixed $error)
  • mixed $error: Error or an array of Error Error
setRequestId (line 160)

Sets the value of the RequestId property.

  • return: instance
  • access: public
this setRequestId (string $value)
  • string $value: RequestId
toXML (line 196)

XML Representation for this object

  • return: XML for this object
  • access: public
string toXML ()
withError (line 124)

Sets single or multiple values of Error list via variable number of arguments.

For example, to set the list with two elements, simply pass two values as arguments to this function

  1. withError($error1$error2)

  • return: instance
  • access: public
Amazon_SimpleDB_Model_ErrorResponse withError (Error $errorArgs)
  • Error $errorArgs: one or more Error
withRequestId (line 172)

Sets the value of the RequestId and returns this instance

  • return: instance
  • access: public
Amazon_SimpleDB_Model_ErrorResponse withRequestId (string $value)
  • string $value: RequestId

Inherited Methods

Inherited From Amazon_SimpleDB_Model

Amazon_SimpleDB_Model::__construct()
Amazon_SimpleDB_Model::_isNumericArray()
Amazon_SimpleDB_Model::_toXMLFragment()
Amazon_SimpleDB_Model::__get()
Amazon_SimpleDB_Model::__set()

Documentation generated on Thu, 28 Aug 2008 06:35:47 -0700 by phpDocumentor 1.4.2