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

Source for file GetCategoryListings.php

Documentation is available at GetCategoryListings.php

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

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