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

  1. <?PHP
  2. /**
  3.  * Get the logo URL
  4.  *
  5.  * $Id: GetLogoURL.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/GetItemShipping/GetItemShippingLogic.htm
  10.  */
  11. class Services_Ebay_Call_GetLogoUrl extends Services_Ebay_Call 
  12. {
  13.    /**
  14.     * verb of the API call
  15.     *
  16.     * @var  string
  17.     */
  18.     protected $verb = 'GetLogoURL';
  19.  
  20.    /**
  21.     * arguments of the call
  22.     *
  23.     * @var  array
  24.     */
  25.     protected $args = array(
  26.                             'Size' => 'Medium'
  27.                         );
  28.  
  29.    /**
  30.     * parameter map that is used, when scalar parameters are passed
  31.     *
  32.     * @var  array
  33.     */
  34.     protected $paramMap = array(
  35.                                  'Size'
  36.                                 );
  37.  
  38.  
  39.    /**
  40.     * make the API call
  41.     *
  42.     * @param    object Services_Ebay_Session
  43.     * @return   string
  44.     */
  45.     public function call(Services_Ebay_Session $session)
  46.     {
  47.         $return = parent::call($session);
  48.         return $return['Logo'];
  49.     }
  50. }
  51. ?>