Class Amazon_SimpleDB_Model_Item

Description

Amazon_SimpleDB_Model_Item

Properties:

  • Name: string
  • Attribute: Amazon_SimpleDB_Model_Attribute

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

Amazon_SimpleDB_Model
   |
   --Amazon_SimpleDB_Model_Item
Method Summary
Amazon_SimpleDB_Model_Item __construct ([mixed $data = null])
array getAttribute ()
string getName ()
bool isSetAttribute ()
bool isSetName ()
this setAttribute (mixed $attribute)
this setName (string $value)
Amazon_SimpleDB_Model_Item withAttribute (Attribute $attributeArgs)
Variables

Inherited Variables

Inherited from Amazon_SimpleDB_Model

Amazon_SimpleDB_Model::$_fields
Methods
Constructor __construct (line 58)

Construct new Amazon_SimpleDB_Model_Item

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

    DOMElement or Associative Array to construct from.

    Valid properties:

    • Name: string
    • Attribute: Amazon_SimpleDB_Model_Attribute


Redefinition of:
Amazon_SimpleDB_Model::__construct()
Construct new model class
getAttribute (line 117)

Gets the value of the Attribute.

  • return: of Attribute Attribute
  • access: public
array getAttribute ()
getName (line 72)

Gets the value of the Name property.

  • return: Name
  • access: public
string getName ()
isSetAttribute (line 161)

Checks if Attribute list is non-empty

  • return: true if Attribute list is non-empty
  • access: public
bool isSetAttribute ()
isSetName (line 107)

Checks if Name is set

  • return: true if Name is set
  • access: public
bool isSetName ()
setAttribute (line 128)

Sets the value of the Attribute.

  • return: instance
  • access: public
this setAttribute (mixed $attribute)
  • mixed $attribute: Attribute or an array of Attribute Attribute
setName (line 83)

Sets the value of the Name property.

  • return: instance
  • access: public
this setName (string $value)
  • string $value: Name
withAttribute (line 146)

Sets single or multiple values of Attribute 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. withAttribute($attribute1$attribute2)

  • return: instance
  • access: public
Amazon_SimpleDB_Model_Item withAttribute (Attribute $attributeArgs)
  • Attribute $attributeArgs: one or more Attribute
withName (line 95)

Sets the value of the Name and returns this instance

  • return: instance
  • access: public
Amazon_SimpleDB_Model_Item withName (string $value)
  • string $value: Name

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:50 -0700 by phpDocumentor 1.4.2