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

Source for file AddToItemDescription.php

Documentation is available at AddToItemDescription.php

  1. <?PHP
  2. /**
  3.  * Add information to the item descriptions
  4.  *
  5.  * $Id: AddToItemDescription.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 = 'AddToItemDescription';
  17.  
  18.    /**
  19.     * parameter map that is used, when scalar parameters are passed
  20.     *
  21.     * @var  array 
  22.     */
  23.     protected $paramMap = array(
  24.                                  'ItemId',
  25.                                  'Description'
  26.                                 );
  27.  
  28.  
  29.    /**
  30.     * make the API call
  31.     *
  32.     * @param    object Services_Ebay_Session 
  33.     * @return   string 
  34.     */
  35.     public function call(Services_Ebay_Session $session)
  36.     {
  37.         $return = parent::call($session);
  38.         if ($return['AddToItemDescription']['Status'=== 'Success'{
  39.             return true;
  40.         }
  41.         return false;
  42.     }
  43. }
  44. ?>

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