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 / GetAPIAccessRules.php < prev    next >
Encoding:
PHP Script  |  2008-07-02  |  808 b   |  32 lines

  1. <?PHP
  2. /**
  3.  * Get all access rules for the API
  4.  *
  5.  * $Id: GetAPIAccessRules.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.  * @link    http://developer.ebay.com/DevZone/docs/API_Doc/Functions/GetAPIAccessRules/GetAPIAccessRulesLogic.htm
  10.  */
  11. class Services_Ebay_Call_GetAPIAccessRules extends Services_Ebay_Call 
  12. {
  13.    /**
  14.     * verb of the API call
  15.     *
  16.     * @var  string
  17.     */
  18.     protected $verb = 'GetAPIAccessRules';
  19.  
  20.    /**
  21.     * make the API call
  22.     *
  23.     * @param    object Services_Ebay_Session
  24.     * @return   string
  25.     */
  26.     public function call(Services_Ebay_Session $session)
  27.     {
  28.         $return = parent::call($session);
  29.         return $return['APIAccessRules']['APIAccessRule'];
  30.     }
  31. }
  32. ?>