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

Source for file GetCategory2CS.php

Documentation is available at GetCategory2CS.php

  1. <?PHP
  2. /**
  3.  * Get category 2 cs
  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/GetCategory2CS/GetCategory2CSLogic.htm
  10.  *
  11.  * @todo    finish this API call
  12.  * @todo    build a model for this
  13.  */
  14. {
  15.    /**
  16.     * verb of the API call
  17.     *
  18.     * @var  string 
  19.     */
  20.     protected $verb = 'GetCategory2CS';
  21.  
  22.    /**
  23.     * parameter map that is used, when scalar parameters are passed
  24.     *
  25.     * @var  array 
  26.     */
  27.     protected $paramMap = array(
  28.                                  'CategoryID',
  29.                                 );
  30.     
  31.    /**
  32.     * arguments of the call
  33.     *
  34.     * @var  array 
  35.     */
  36.     protected $args = array(
  37.                             'DetailLevel' => 'ReturnAll'
  38.                         );
  39.  
  40.    /**
  41.     * make the API call
  42.     *
  43.     * @param    object Services_Ebay_Session 
  44.     * @return   string 
  45.     */
  46.     public function call(Services_Ebay_Session $session)
  47.     {
  48.         $return = parent::call($session);
  49.         return $return['MappedCategoryArray'];
  50.     }
  51. }
  52. ?>

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