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

  1. <?PHP
  2. /**
  3.  * Get the RuName
  4.  *
  5.  * $Id: GetRuName.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.  */
  11. class Services_Ebay_Call_GetRuName extends Services_Ebay_Call 
  12. {
  13.    /**
  14.     * verb of the API call
  15.     *
  16.     * @var  string
  17.     */
  18.     protected $verb = 'GetRuName';
  19.  
  20.    /**
  21.     * authentication type of the call
  22.     *
  23.     * @var  int
  24.     */
  25.     protected $authType = Services_Ebay::AUTH_TYPE_USER;
  26.     
  27.    /**
  28.     * parameter map that is used, when scalar parameters are passed
  29.     *
  30.     * @var  array
  31.     */
  32.     protected $paramMap = array(
  33.                                 'UseCaseId'
  34.                                 );
  35.    /**
  36.     * make the API call
  37.     *
  38.     * @param    object Services_Ebay_Session
  39.     * @return   string
  40.     */
  41.     public function call(Services_Ebay_Session $session)
  42.     {
  43.         $return = parent::call($session);
  44.         return $return['RuName'];
  45.     }
  46. }
  47. ?>