public function __construct($appId = null, $countryCode = 'DE', $secretKey = null)
 {
     if (!$appId || !$secretKey) {
         $a = Kwf_Registry::get('config')->amazon;
         if (!$a) {
             throw new Kwf_Exception("Set amazon.key and amazon.secret in config");
         }
         if (!$appId) {
             $appId = $a->key;
         }
         if (!$secretKey) {
             $secretKey = $a->secret;
         }
     }
     parent::__construct($appId, $countryCode, $secretKey);
 }
Beispiel #2
0
 public function __construct($appId, $countryCode = 'DE', $secretKey = null)
 {
     parent::__construct($appId, $countryCode, $secretKey);
 }