Development

Changeset 4813

You must first sign up to be able to contribute.

Changeset 4813

Show
Ignore:
Timestamp:
08/03/07 18:43:04 (1 year ago)
Author:
Jonathan.Wage
Message:

sfCommissionJunctionPlugin: Fixes for new packaged release.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfCommissionJunctionPlugin/README

    r4724 r4813  
    11= Symfony Commission Junction Plugin = 
    22 
    3 This plugin is beta, please use at your own risk. Send any questions to jonwage@gmail.com 
     3== Requirements == 
     4 
     5This plugin requires [wiki:sfWSDLPlugin] 
     6 
     7== Installation == 
     8 
     9Installing from package 
     10{{{ 
     11  symfony plugin-install http://plugins.symfony-project.com/sfCommissionJunctionPlugin 
     12}}} 
     13 
     14Installing from svn 
     15{{{ 
     16  svn co http://svn.symfony-project.com/plugins/sfCommissionJunctionPlugin 
     17}}} 
     18 
     19Clear your cache after installing 
     20{{{ 
     21  symfony cc 
     22}}} 
    423 
    524== List of Methods == 
  • plugins/sfCommissionJunctionPlugin/lib/BasesfCommissionJunction.class.php

    r4770 r4813  
    257257    $this->wsdl = $this->wsdls[$this->service]; 
    258258     
    259     $this->soapClient   = new SoapClient($this->wsdl); 
     259    $params = array('developerKey' => $this->developerKey, 'websiteId' => $this->websiteId); 
     260    $sfWSDL = new sfWSDL('CommissionJunction', $this->wsdl, $params); 
    260261     
    261262    unset($mainParams['params']); 
    262263     
    263264    $params = array_merge($mainParams, $additionalParams); 
    264     $params['developerKey'] = $this->developerKey; 
    265     $params['websiteId'] = $this->websiteId; 
    266      
    267     return $this->soapClient->__soapCall($method, array($params)); 
     265     
     266    return $sfWSDL->$method($params); 
    268267  } 
    269268} 
  • plugins/sfCommissionJunctionPlugin/package.xml

    r4791 r4813  
    11<?xml version="1.0" encoding="UTF-8"?> 
    2 <package packagerversion="1.0.0" version="1.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd"> 
     2<package xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" packagerversion="1.0.0" version="1.0" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd"> 
    33 <name>sfCommissionJunctionPlugin</name> 
    44 <channel>pear.symfony-project.com</channel> 
     
    1717  <active>yes</active> 
    1818 </maintainer> 
    19  <date>2007-08-01</date> 
    20  <time>15:54:35</time> 
     19 <date>2007-08-03</date> 
    2120 <release> 
    22   <version>0.0.1</version> 
    23   <state>beta</state> 
     21  <version>1.0.0</version> 
     22  <state>stable</state> 
    2423 </release> 
    2524 <stability> 
    26   <release>beta</release> 
    27   <api>beta</api> 
     25  <release>stable</release> 
     26  <api>stable</api> 
    2827 </stability> 
    2928 <license uri="http://www.symfony-project.com/license">MIT license</license> 
    3029 <notes>-</notes> 
    31  <contents> 
    32   <dir name="/"> 
    33    <file role="data" name="README" /> 
    34    <file role="data" name="LICENSE" /> 
    35    <dir name="lib"> 
    36     <file role="data" name="BasesfCommissionJunction.class.php" /> 
    37     <file role="data" name="sfCommissionJunction.class.php" /> 
    38    </dir> 
    39   </dir> 
    40  </contents> 
     30 <contents><dir name="/"><dir name="lib"><file name="BasesfCommissionJunction.class.php" role="data"/><file name="sfCommissionJunction.class.php" role="data"/></dir><file name="LICENSE" role="data"/><file name="README" role="data"/><file name="package-sfCommissionJunctionPlugin.xml" role="data"/><file name="svn-commit.tmp" role="data"/></dir></contents> 
    4131 <dependencies> 
    4232  <required> 
     
    5646  </required> 
    5747 </dependencies> 
    58  <phprelease /> 
    59  <changelog /> 
     48 <phprelease/> 
     49 <changelog/> 
    6050</package>