Changeset 4809
- Timestamp:
- 08/03/07 18:09:10 (1 year ago)
- Files:
-
- plugins/sfAmazonECSPlugin/README (modified) (1 diff)
- plugins/sfAmazonECSPlugin/lib/BasesfAmazonECS.class.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfAmazonECSPlugin/README
r4725 r4809 1 1 = Symfony Amazon ECS Class = 2 2 3 This plugin is beta and has not been officially released, use at your own risk and send any questions to jonwage@gmail.com 3 This plugin gives you complete functionality to the Amazon ECS Api. 4 5 == Requirements == 6 7 This plugin requires one other plugin to be present, [wiki:sfWSDLPlugin] 8 9 == Installation == 10 11 Install plugin from package 12 {{{ 13 svn plugin-install http://plugins.symfony-project.com/sfAmazonECSPlugin 14 }}} 15 16 Install plugin from trunk of svn 17 {{{ 18 svn co http://svn.symfony-project.com/plugins/sfAmazonECSPlugin 19 }}} 20 21 After installing clear your cache 22 {{{ 23 symfony cc 24 }}} 4 25 5 26 == List of Methods == plugins/sfAmazonECSPlugin/lib/BasesfAmazonECS.class.php
r4771 r4809 20 20 protected $wsdl = 'http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl', 21 21 $service = 'AWSECommerceService', 22 $s oapClient= null,22 $sfWSDL = null, 23 23 $awsAccessKeyId = null, 24 24 $associateTag = null, … … 38 38 public function __construct($awsAccessKeyId, $associateTag = null, $merchantId = null) 39 39 { 40 $this->soapClient = new SoapClient($this->wsdl); 40 $params = array('AWSAccessKeyId' => $awsAccessKeyId, 'AssociateTag' => $associateTag, 'MerchantId' => $merchantId); 41 42 $this->sfWSDL = new sfWSDL('AmazonECS', $this->wsdl, $params); 41 43 42 44 $this->awsAccessKeyId = $awsAccessKeyId; … … 426 428 $params = array_merge($mainParams, $additionalParams); 427 429 428 $parameters = array('Service' => $this->service, 429 'AssociateTag' => $this->associateTag, 430 'AWSAccessKeyId' => $this->awsAccessKeyId, 431 'Version' => '2007-06-13', 432 'Request' => array($params)); 433 434 return $this->soapClient->__soapCall($method, array($parameters)); 430 return $this->sfWSDL->$method($params); 435 431 } 436 432 }