cvs: pear /Services_Ebay/Ebay Call.php /Services_Ebay/Ebay/Call AddDispute.php AddDisputeResponse.php AddMemberMessage.php GetDispute.php
GetUserDisputes.php SellerReverseDispute.php /Services_Ebay/examples example_features_DescribingCalls.php

From: Date: Thu, 23 Dec 2004 15:21:06 +0000
Subject: cvs: pear /Services_Ebay/Ebay Call.php /Services_Ebay/Ebay/Call AddDispute.php AddDisputeResponse.php AddMemberMessage.php GetDispute.php
GetUserDisputes.php SellerReverseDispute.php /Services_Ebay/examples example_features_DescribingCalls.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-27789@lists.php.net to get a copy of this message
schst Thu Dec 23 10:21:06 2004 EDT Modified files: /pear/Services_Ebay/Ebay Call.php /pear/Services_Ebay/Ebay/Call AddDispute.php AddDisputeResponse.php AddMemberMessage.php GetDispute.php GetUserDisputes.php SellerReverseDispute.php /pear/Services_Ebay/examples example_features_DescribingCalls.php Log: changed visibility of $since property to protected improved describeCall()

http://cvs.php.net/diff.php/pear/Services_Ebay/Ebay/Call.php?r1=1.3&r2=1.4&ty=u Index: pear/Services_Ebay/Ebay/Call.php diff -u pear/Services_Ebay/Ebay/Call.php:1.3 pear/Services_Ebay/Ebay/Call.php:1.4 --- pear/Services_Ebay/Ebay/Call.php:1.3 Mon Dec 13 19:52:32 2004 +++ pear/Services_Ebay/Ebay/Call.php Thu Dec 23 10:21:02 2004 @@ -2,7 +2,7 @@ /** * base class for API call objects * - * $Id: Call.php,v 1.3 2004/12/14 00:52:32 amt Exp $ + * $Id: Call.php,v 1.4 2004/12/23 15:21:02 schst Exp $ * * @package Services_Ebay * @author Stephan Schmidt <schst@php.net> @@ -48,6 +48,20 @@ protected $serializerOptions = array(); /** + * compatibility level this method was introduced + * + * @var integer + */ + protected $since = null; + + /** + * deprecated since API version + * + * @var integer + */ + protected $deprecated = null; + + /** * constructor * * @param array arguments to the call @@ -124,9 +138,17 @@ public function describeCall() { echo 'API Call : '.$this->verb."\n"; + if ($this->since !== null) { + echo 'Added in API version : ' . $this->since . "\n"; + } + if ($this->deprecated !== null) { + echo 'Deprecated sind API version : ' . $this->deprecated . "\n"; + } + echo "\n"; echo 'Parameters (max. '.count($this->paramMap).')'."\n"; + $i = 0; foreach ($this->paramMap as $param) { - echo ' '.$param; + echo ' '.++$i.'. '.$param; if (isset($this->args[$param])) { echo '('.$this->args[$param].')'; } else { http://cvs.php.net/diff.php/pear/Services_Ebay/Ebay/Call/AddDispute.php?r1=1.1&r2=1.2&ty=u Index: pear/Services_Ebay/Ebay/Call/AddDispute.php diff -u pear/Services_Ebay/Ebay/Call/AddDispute.php:1.1 pear/Services_Ebay/Ebay/Call/AddDispute.php:1.2 --- pear/Services_Ebay/Ebay/Call/AddDispute.php:1.1 Thu Oct 28 13:14:53 2004 +++ pear/Services_Ebay/Ebay/Call/AddDispute.php Thu Dec 23 10:21:05 2004 @@ -2,7 +2,7 @@ /** * Add a dispute * - * $Id: AddDispute.php,v 1.1 2004/10/28 17:14:53 schst Exp $ + * $Id: AddDispute.php,v 1.2 2004/12/23 15:21:05 schst Exp $ * * @package Services_Ebay * @author Stephan Schmidt <schst@php.net> @@ -22,7 +22,7 @@ * * @var integer */ - public $since = 361; + protected $since = 361; /** * parameter map that is used, when scalar parameters are passed http://cvs.php.net/diff.php/pear/Services_Ebay/Ebay/Call/AddDisputeResponse.php?r1=1.1&r2=1.2&ty=u Index: pear/Services_Ebay/Ebay/Call/AddDisputeResponse.php diff -u pear/Services_Ebay/Ebay/Call/AddDisputeResponse.php:1.1 pear/Services_Ebay/Ebay/Call/AddDisputeResponse.php:1.2 --- pear/Services_Ebay/Ebay/Call/AddDisputeResponse.php:1.1 Thu Oct 28 13:14:53 2004 +++ pear/Services_Ebay/Ebay/Call/AddDisputeResponse.php Thu Dec 23 10:21:05 2004 @@ -2,7 +2,7 @@ /** * Add a dispute response * - * $Id: AddDisputeResponse.php,v 1.1 2004/10/28 17:14:53 schst Exp $ + * $Id: AddDisputeResponse.php,v 1.2 2004/12/23 15:21:05 schst Exp $ * * @package Services_Ebay * @author Stephan Schmidt <schst@php.net> @@ -22,7 +22,7 @@ * * @var integer */ - public $since = 361; + protected $since = 361; /** * parameter map that is used, when scalar parameters are passed http://cvs.php.net/diff.php/pear/Services_Ebay/Ebay/Call/AddMemberMessage.php?r1=1.1&r2=1.2&ty=u Index: pear/Services_Ebay/Ebay/Call/AddMemberMessage.php diff -u pear/Services_Ebay/Ebay/Call/AddMemberMessage.php:1.1 pear/Services_Ebay/Ebay/Call/AddMemberMessage.php:1.2 --- pear/Services_Ebay/Ebay/Call/AddMemberMessage.php:1.1 Thu Oct 28 13:14:53 2004 +++ pear/Services_Ebay/Ebay/Call/AddMemberMessage.php Thu Dec 23 10:21:05 2004 @@ -2,7 +2,7 @@ /** * Add a message for an eBay member * - * $Id: AddMemberMessage.php,v 1.1 2004/10/28 17:14:53 schst Exp $ + * $Id: AddMemberMessage.php,v 1.2 2004/12/23 15:21:05 schst Exp $ * * @package Services_Ebay * @author Stephan Schmidt <schst@php.net> @@ -22,7 +22,7 @@ * * @var integer */ - public $since = 367; + protected $since = 367; /** * parameter map that is used, when scalar parameters are passed http://cvs.php.net/diff.php/pear/Services_Ebay/Ebay/Call/GetDispute.php?r1=1.1&r2=1.2&ty=u Index: pear/Services_Ebay/Ebay/Call/GetDispute.php diff -u pear/Services_Ebay/Ebay/Call/GetDispute.php:1.1 pear/Services_Ebay/Ebay/Call/GetDispute.php:1.2 --- pear/Services_Ebay/Ebay/Call/GetDispute.php:1.1 Thu Oct 28 13:14:53 2004 +++ pear/Services_Ebay/Ebay/Call/GetDispute.php Thu Dec 23 10:21:05 2004 @@ -2,7 +2,7 @@ /** * Get a dispute * - * $Id: GetDispute.php,v 1.1 2004/10/28 17:14:53 schst Exp $ + * $Id: GetDispute.php,v 1.2 2004/12/23 15:21:05 schst Exp $ * * @package Services_Ebay * @author Stephan Schmidt <schst@php.net> @@ -22,7 +22,7 @@ * * @var integer */ - public $since = 361; + protected $since = 361; /** * parameter map that is used, when scalar parameters are passed http://cvs.php.net/diff.php/pear/Services_Ebay/Ebay/Call/GetUserDisputes.php?r1=1.1&r2=1.2&ty=u Index: pear/Services_Ebay/Ebay/Call/GetUserDisputes.php diff -u pear/Services_Ebay/Ebay/Call/GetUserDisputes.php:1.1 pear/Services_Ebay/Ebay/Call/GetUserDisputes.php:1.2 --- pear/Services_Ebay/Ebay/Call/GetUserDisputes.php:1.1 Thu Oct 28 13:14:53 2004 +++ pear/Services_Ebay/Ebay/Call/GetUserDisputes.php Thu Dec 23 10:21:05 2004 @@ -2,7 +2,7 @@ /** * Get a all disputes the where the current user is either seller or buyer * - * $Id: GetUserDisputes.php,v 1.1 2004/10/28 17:14:53 schst Exp $ + * $Id: GetUserDisputes.php,v 1.2 2004/12/23 15:21:05 schst Exp $ * * @package Services_Ebay * @author Stephan Schmidt <schst@php.net> @@ -23,7 +23,7 @@ * * @var integer */ - public $since = 361; + protected $since = 361; /** * arguments of the call http://cvs.php.net/diff.php/pear/Services_Ebay/Ebay/Call/SellerReverseDispute.php?r1=1.1&r2=1.2&ty=u Index: pear/Services_Ebay/Ebay/Call/SellerReverseDispute.php diff -u pear/Services_Ebay/Ebay/Call/SellerReverseDispute.php:1.1 pear/Services_Ebay/Ebay/Call/SellerReverseDispute.php:1.2 --- pear/Services_Ebay/Ebay/Call/SellerReverseDispute.php:1.1 Thu Oct 28 13:14:53 2004 +++ pear/Services_Ebay/Ebay/Call/SellerReverseDispute.php Thu Dec 23 10:21:05 2004 @@ -2,7 +2,7 @@ /** * Reverse a dispute * - * $Id: SellerReverseDispute.php,v 1.1 2004/10/28 17:14:53 schst Exp $ + * $Id: SellerReverseDispute.php,v 1.2 2004/12/23 15:21:05 schst Exp $ * * @package Services_Ebay * @author Stephan Schmidt <schst@php.net> @@ -22,7 +22,7 @@ * * @var integer */ - public $since = 361; + protected $since = 361; /** * parameter map that is used, when scalar parameters are passed http://cvs.php.net/diff.php/pear/Services_Ebay/examples/example_features_DescribingCalls.php?r1=1.1&r2=1.2&ty=u Index: pear/Services_Ebay/examples/example_features_DescribingCalls.php diff -u pear/Services_Ebay/examples/example_features_DescribingCalls.php:1.1 pear/Services_Ebay/examples/example_features_DescribingCalls.php:1.2 --- pear/Services_Ebay/examples/example_features_DescribingCalls.php:1.1 Tue Nov 30 15:03:48 2004 +++ pear/Services_Ebay/examples/example_features_DescribingCalls.php Thu Dec 23 10:21:06 2004 @@ -3,7 +3,7 @@ * example that shows how a call object is * able to show its list of parameters * - * $Id: example_features_DescribingCalls.php,v 1.1 2004/11/30 20:03:48 schst Exp $ + * $Id: example_features_DescribingCalls.php,v 1.2 2004/12/23 15:21:06 schst Exp $ * * @package Services_Ebay * @subpackage Examples @@ -16,7 +16,7 @@ $session = Services_Ebay::getSession($devId, $appId, $certId); $session->setToken($token); -$call = Services_Ebay::loadAPICall('GetLogoURL'); +$call = Services_Ebay::loadAPICall('AddDispute'); echo '<pre>'; $call->describeCall(); echo '</pre>';
« previous php.pear.cvs (#27789) next »