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: GetCategory2CS.php,v 1.1 2005/01/04 20:10:18 schst Exp $
  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' => 1
  38.                         );
  39.  
  40.     protected $unserializerOptions = array(
  41.                                             'keyAttribute' => array('Category' => 'id')
  42.                                         );
  43.  
  44.    /**
  45.     * make the API call
  46.     *
  47.     * @param    object Services_Ebay_Session 
  48.     * @return   string 
  49.     */
  50.     public function call(Services_Ebay_Session $session)
  51.     {
  52.         $return = parent::call($session);
  53.         return $return['Category2CS'];
  54.     }
  55. }
  56. ?>

Documentation generated on Mon, 11 Mar 2019 14:19:25 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.