home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / Servidores / xampp-win32-1.6.7-installer.exe / php / PEAR / Services / Ebay / Call / GetBidderList.php < prev    next >
Encoding:
PHP Script  |  2008-07-02  |  1.5 KB  |  56 lines

  1. <?PHP
  2. /**
  3.  * Get all items a user has been/is bidding on
  4.  *
  5.  * $Id: GetBidderList.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    build item list model
  10.  */
  11. class Services_Ebay_Call_GetBidderList extends Services_Ebay_Call 
  12. {
  13.    /**
  14.     * verb of the API call
  15.     *
  16.     * @var  string
  17.     */
  18.     protected $verb = 'GetBidderList';
  19.  
  20.    /**
  21.     * arguments of the call
  22.     *
  23.     * @var  array
  24.     */
  25.     protected $args = array(
  26.                             'UserId'       => null,
  27.                             'Active'       => 1,
  28.                             'DetailLevel'  => 32
  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.                                  'Active',
  38.                                  'DetailLevel',
  39.                                  'Days',
  40.                                  'EndTimeFrom',
  41.                                  'EndTimeTo'
  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 Services_Ebay::loadModel('ItemList', $return['BidderList'], $session);
  54.     }
  55. }
  56. ?>