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.2 2004/12/14 19:08:25 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/GetRuName/GetRuNameLogic.htm
  10.  * @todo    test paginating
  11.  * @todo    build item list model
  12.  */
  13. {
  14.    /**
  15.     * verb of the API call
  16.     *
  17.     * @var  string 
  18.     */
  19.     protected $verb = 'GetSellerList';
  20.  
  21.    /**
  22.     * arguments of the call
  23.     *
  24.     * @var  array 
  25.     */
  26.     protected $args = array(
  27.                             'UserId'       => null,
  28.                             'DetailLevel'  => 16
  29.                         );
  30.    /**
  31.     * parameter map that is used, when scalar parameters are passed
  32.     *
  33.     * @var  array 
  34.     */
  35.     protected $paramMap = array(
  36.                                  'UserId',
  37.                                  'ItemsPerPage',
  38.                                  'PageNumber',
  39.                                  'Sort',
  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 Services_Ebay::loadModel('ItemList'$return['SellerList']$session);
  52.     }
  53. }
  54. ?>

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