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$
  6.  *
  7.  * @package Services_Ebay
  8.  * @author  Stephan Schmidt <schst@php.net>
  9.  * @link    http://developer.ebay.com/DevZone/docs/API_Doc/Functions/AddToItemDescription/AddToItemDescriptionLogic.htm
  10.  * @see     Services_Model_Item::AddToDescription()
  11.  */
  12. {
  13.    /**
  14.     * verb of the API call
  15.     *
  16.     * @var  string 
  17.     */
  18.     protected $verb = 'AddToItemDescription';
  19.  
  20.    /**
  21.     * parameter map that is used, when scalar parameters are passed
  22.     *
  23.     * @var  array 
  24.     */
  25.     protected $paramMap = array(
  26.                                  'ItemID',
  27.                                  'Description'
  28.                                 );
  29.  
  30.  
  31.    /**
  32.     * make the API call
  33.     *
  34.     * @param    object Services_Ebay_Session 
  35.     * @return   string 
  36.     */
  37.     public function call(Services_Ebay_Session $session)
  38.     {
  39.         $return = parent::call($session);
  40.         if ($return['AddToItemDescriptionResponse']['Ack'=== 'Success'{
  41.             return true;
  42.         }
  43.         return false;
  44.     }
  45. }
  46. ?>

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