Source for file PutAttributes.php
Documentation is available at PutAttributes.php
* @package Amazon_SimpleDB
* @copyright Copyright 2007 Amazon Technologies, Inc.
* @link http://aws.amazon.com
* @license http://aws.amazon.com/apache2.0 Apache License, Version 2.0
/*******************************************************************************
* Amazon Simple DB PHP5 Library
* Generated: Wed Jul 23 00:24:22 PDT 2008
* @see Amazon_SimpleDB_Model
require_once ('Amazon/SimpleDB/Model.php');
* Amazon_SimpleDB_Model_PutAttributes
* <li>DomainName: string</li>
* <li>ItemName: string</li>
* <li>Attribute: Amazon_SimpleDB_Model_ReplaceableAttribute</li>
* Construct new Amazon_SimpleDB_Model_PutAttributes
* @param mixed $data DOMElement or Associative Array to construct from.
* <li>DomainName: string</li>
* <li>ItemName: string</li>
* <li>Attribute: Amazon_SimpleDB_Model_ReplaceableAttribute</li>
'DomainName' =>
array('FieldValue' =>
null, 'FieldType' =>
'string'),
'ItemName' =>
array('FieldValue' =>
null, 'FieldType' =>
'string'),
'Attribute' =>
array('FieldValue' =>
array(), 'FieldType' =>
array('Amazon_SimpleDB_Model_ReplaceableAttribute')),
* Gets the value of the DomainName property.
* @return string DomainName
return $this->_fields['DomainName']['FieldValue'];
* Sets the value of the DomainName property.
* @param string DomainName
$this->_fields['DomainName']['FieldValue'] =
$value;
* Sets the value of the DomainName and returns this instance
* @param string $value DomainName
* @return Amazon_SimpleDB_Model_PutAttributes instance
* Checks if DomainName is set
* @return bool true if DomainName is set
* Gets the value of the ItemName property.
* @return string ItemName
return $this->_fields['ItemName']['FieldValue'];
* Sets the value of the ItemName property.
$this->_fields['ItemName']['FieldValue'] =
$value;
* Sets the value of the ItemName and returns this instance
* @param string $value ItemName
* @return Amazon_SimpleDB_Model_PutAttributes instance
* Checks if ItemName is set
* @return bool true if ItemName is set
* Gets the value of the Attribute.
* @return array of ReplaceableAttribute Attribute
return $this->_fields['Attribute']['FieldValue'];
* Sets the value of the Attribute.
* @param mixed ReplaceableAttribute or an array of ReplaceableAttribute Attribute
$attribute =
array ($attribute);
$this->_fields['Attribute']['FieldValue'] =
$attribute;
* 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
* <code>withAttribute($attribute1, $attribute2)</code>
* @param ReplaceableAttribute $replaceableAttributeArgs one or more Attribute
* @return Amazon_SimpleDB_Model_PutAttributes instance
$this->_fields['Attribute']['FieldValue'][] =
$attribute;
* Checks if Attribute list is non-empty
* @return bool true if Attribute list is non-empty
return count ($this->_fields['Attribute']['FieldValue']) >
0;
Documentation generated on Wed, 23 Jul 2008 00:47:41 -0700 by phpDocumentor 1.4.2