[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Service/ -> Amazon.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
Version: $Id$
File Size: 323 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_Service_Amazon:: (9 methods):
  __construct()
  itemSearch()
  itemLookup()
  getRestClient()
  setRestClient()
  _prepareOptions()
  computeSignature()
  buildRawSignature()
  _checkErrors()


Class: Zend_Service_Amazon  - X-Ref


__construct($appId, $countryCode = 'US', $secretKey = null)   X-Ref
Constructs a new Amazon Web Services Client

param: string $appId       Developer's Amazon appid
param: string $countryCode Country code for Amazon service; may be US, UK, DE, JP, FR, CA
return: Zend_Service_Amazon

itemSearch(array $options)   X-Ref
Search for Items

param: array $options Options to use for the Search Query
return: Zend_Service_Amazon_ResultSet

itemLookup($asin, array $options = array()   X-Ref
Look up item(s) by ASIN

param: string $asin    Amazon ASIN ID
param: array  $options Query Options
return: Zend_Service_Amazon_Item|Zend_Service_Amazon_ResultSet

getRestClient()   X-Ref
Returns a reference to the REST client

return: Zend_Rest_Client

setRestClient(Zend_Rest_Client $client)   X-Ref
Set REST client

param: Zend_Rest_Client
return: Zend_Service_Amazon

_prepareOptions($query, array $options, array $defaultOptions)   X-Ref
Prepare options for request

param: string $query          Action to perform
param: array  $options        User supplied options
param: array  $defaultOptions Default options
return: array

computeSignature($baseUri, $secretKey, array $options)   X-Ref
Compute Signature for Authentication with Amazon Product Advertising Webservices

param: string $baseUri
param: string $secretKey
param: array $options
return: string

buildRawSignature($baseUri, $options)   X-Ref
Build the Raw Signature Text

param: string $baseUri
param: array $options
return: string

_checkErrors(DOMDocument $dom)   X-Ref
Check result for errors

param: DOMDocument $dom
return: void



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1