@@ -89,10 +89,8 @@ class Zend_Service_Amazon_SimpleDb extends Zend_Service_Amazon_Abstract
89
89
/**
90
90
* Create Amazon SimpleDB client.
91
91
*
92
- * @param string $access_key Override the default Access Key
93
- * @param string $secret_key Override the default Secret Key
94
- * @param string $region Sets the AWS Region
95
- * @return void
92
+ * @param string $accessKey Override the default Access Key
93
+ * @param string $secretKey Override the default Secret Key
96
94
*/
97
95
public function __construct ($ accessKey , $ secretKey )
98
96
{
@@ -104,6 +102,8 @@ public function __construct($accessKey, $secretKey)
104
102
* Set SimpleDB endpoint to use
105
103
*
106
104
* @param string|Zend_Uri_Http $endpoint
105
+ * @throws Zend_Service_Amazon_SimpleDb_Exception
106
+ * @throws Zend_Uri_Exception
107
107
* @return Zend_Service_Amazon_SimpleDb
108
108
*/
109
109
public function setEndpoint ($ endpoint )
@@ -132,8 +132,11 @@ public function getEndpoint()
132
132
/**
133
133
* Get attributes API method
134
134
*
135
- * @param string $domainName Domain name within database
136
- * @param string
135
+ * @param string $domainName Domain name within database
136
+ * @param string $itemName
137
+ * @param string|null $attributeName
138
+ * @throws Zend_Service_Amazon_SimpleDb_Exception
139
+ * @return array
137
140
*/
138
141
public function getAttributes (
139
142
$ domainName , $ itemName , $ attributeName = null
@@ -180,7 +183,7 @@ public function getAttributes(
180
183
*
181
184
* @param string $domainName
182
185
* @param string $itemName
183
- * @param array|Traverable $attributes
186
+ * @param array|Traversable $attributes
184
187
* @param array $replace
185
188
* @return void
186
189
*/
@@ -424,7 +427,9 @@ public function quote($value)
424
427
* Quote SDB column or table name
425
428
*
426
429
* Wraps it in ``
427
- * @param string $name
430
+ *
431
+ * @param string $name
432
+ * @throws Zend_Service_Amazon_SimpleDb_Exception
428
433
* @return string
429
434
*/
430
435
public function quoteName ($ name )
@@ -524,9 +529,7 @@ protected function _addRequiredParameters(array $parameters)
524
529
* values before constructing this string. Do not use any separator
525
530
* characters when appending strings.
526
531
*
527
- * @param array $parameters the parameters for which to get the signature.
528
- * @param string $secretKey the secret key to use to sign the parameters.
529
- *
532
+ * @param array $parameters the parameters for which to get the signature.
530
533
* @return string the signed data.
531
534
*/
532
535
protected function _signParameters (array $ paramaters )
@@ -559,9 +562,6 @@ protected function _signParameters(array $paramaters)
559
562
*
560
563
* @param Zend_Service_Amazon_SimpleDb_Response $response the response object to
561
564
* check.
562
- *
563
- * @return void
564
- *
565
565
* @throws Zend_Service_Amazon_SimpleDb_Exception if one or more errors are
566
566
* returned from Amazon.
567
567
*/
0 commit comments