Services_Ebay
[ class tree: Services_Ebay ] [ index: Services_Ebay ] [ all elements ]

Source for file LeaveFeedback.php

Documentation is available at LeaveFeedback.php

  1. <?PHP
  2. /**
  3.  * Leave feedback for a user
  4.  *
  5.  * $Id: LeaveFeedback.php,v 1.1 2004/10/28 17:14:53 schst Exp $
  6.  *
  7.  * @package Services_Ebay
  8.  * @author  Stephan Schmidt <schst@php.net>
  9.  */
  10. {
  11.    /**
  12.     * verb of the API call
  13.     *
  14.     * @var  string 
  15.     */
  16.     protected $verb = 'LeaveFeedback';
  17.  
  18.    /**
  19.     * parameter map that is used, when scalar parameters are passed
  20.     *
  21.     * @var  array 
  22.     */
  23.     protected $paramMap = array(
  24.                                  'TargetUser',
  25.                                  'ItemId',
  26.                                  'CommentType',
  27.                                  'Comment',
  28.                                  'TransactionId'
  29.                                 );
  30.     
  31.    /**
  32.     * make the API call
  33.     *
  34.     * @param    object Services_Ebay_Session 
  35.     * @return   string  feedback ID
  36.     */
  37.     public function call(Services_Ebay_Session $session)
  38.     {
  39.         $return = parent::call($session);
  40.         if ($return['LeaveFeedback']['Status'=== 'Success'{
  41.             return $return['LeaveFeedback']['FeedbackId'];
  42.         }
  43.         return false;
  44.     }
  45. }
  46. ?>

Documentation generated on Mon, 11 Mar 2019 13:58:47 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.