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

Source for file GetSellerList.php

Documentation is available at GetSellerList.php

  1. <?PHP
  2. /**
  3.  * Get all items a user is selling
  4.  *
  5.  * $Id: GetSellerList.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.  * @todo    test paginating
  10.  * @todo    build item list model
  11.  */
  12. {
  13.    /**
  14.     * verb of the API call
  15.     *
  16.     * @var  string 
  17.     */
  18.     protected $verb = 'GetSellerList';
  19.  
  20.    /**
  21.     * arguments of the call
  22.     *
  23.     * @var  array 
  24.     */
  25.     protected $args = array(
  26.                             'UserId'       => null,
  27.                             'DetailLevel'  => 16
  28.                         );
  29.    /**
  30.     * parameter map that is used, when scalar parameters are passed
  31.     *
  32.     * @var  array 
  33.     */
  34.     protected $paramMap = array(
  35.                                  'UserId',
  36.                                  'ItemsPerPage',
  37.                                  'PageNumber',
  38.                                  'Sort',
  39.                                 );
  40.     
  41.    /**
  42.     * make the API call
  43.     *
  44.     * @param    object Services_Ebay_Session 
  45.     * @return   string 
  46.     */
  47.     public function call(Services_Ebay_Session $session)
  48.     {
  49.         $return = parent::call($session);
  50.         return Services_Ebay::loadModel('ItemList'$return['SellerList']$session);
  51.     }
  52. }
  53. ?>

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