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 / GetHighBidders.php < prev    next >
Encoding:
PHP Script  |  2008-07-02  |  1.1 KB  |  44 lines

  1. <?PHP
  2. /**
  3.  * Get high bidders for a dutch auction.
  4.  * 
  5.  * Make sure to call this only on dutch auctions!
  6.  * Otherwise you will get an error.
  7.  *
  8.  * $Id: GetHighBidders.php,v 1.2 2005/01/11 23:49:07 luckec Exp $
  9.  *
  10.  * @package Services_Ebay
  11.  * @author  Carsten Lucke <luckec@php.net>
  12.  * @link    http://developer.ebay.com/DevZone/docs/API_Doc/Functions/GetHighBidders/GetHighBiddersLogic.htm
  13.  */
  14. class Services_Ebay_Call_GetHighbidders extends Services_Ebay_Call 
  15. {
  16.    /**
  17.     * verb of the API call
  18.     *
  19.     * @var  string
  20.     */
  21.     protected $verb = 'GetHighBidders';
  22.  
  23.    /**
  24.     * parameter map that is used, when scalar parameters are passed
  25.     *
  26.     * @var  array
  27.     */
  28.     protected $paramMap = array(
  29.                                  'ItemId'
  30.                                 );
  31.    /**
  32.     * make the API call
  33.     *
  34.     * @param    object Services_Ebay_Session
  35.     * @return   string
  36.     */
  37.     public function call(Services_Ebay_Session $session)
  38.     {
  39.         $return = parent::call($session);
  40.         $result = Services_Ebay::loadModel('BidList', $return, $session);
  41.         return $result;
  42.     }
  43. }
  44. ?>