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 / GetMemberMessages.php < prev    next >
Encoding:
PHP Script  |  2008-07-02  |  1.6 KB  |  58 lines

  1. <?PHP
  2. /**
  3.  * Get the logo URL
  4.  *
  5.  * $Id: GetMemberMessages.php,v 1.2 2005/01/11 23:51:28 luckec Exp $
  6.  *
  7.  * @package Services_Ebay
  8.  * @author  Carsten Lucke <luckec@php.net>
  9.  * @link    http://developer.ebay.com/DevZone/docs/api_doc/Functions/GetMemberMessages/getmembermessageslogic.htm
  10.  * @todo    perhaps this should be split into two wrapper-calls: GetMemberMessagesByItemId, GetMemberMessagesByDateRange
  11.  */
  12. class Services_Ebay_Call_GetMemberMessages extends Services_Ebay_Call 
  13. {
  14.    /**
  15.     * verb of the API call
  16.     *
  17.     * @var  string
  18.     */
  19.     protected $verb = 'GetMemberMessages';
  20.  
  21.    /**
  22.     * arguments of the call
  23.     *
  24.     * @var  array
  25.     */
  26.     protected $args = array(
  27.                             'MessageType' => 1
  28.                         );
  29.  
  30.    /**
  31.     * parameter map that is used, when scalar parameters are passed
  32.     *
  33.     * @var  array
  34.     */
  35.     protected $paramMap = array(
  36.                                  'StartCreationDate',
  37.                                  'EndCreationDate',
  38.                                  'ItemId',
  39.                                  'MessageType',
  40.                                  'DisplayToPublic',
  41.                                  'Pagination',
  42.                                  'MessageStatus'
  43.                                 );
  44.  
  45.    /**
  46.     * make the API call
  47.     *
  48.     * @param    object Services_Ebay_Session
  49.     * @return   string
  50.     */
  51.     public function call(Services_Ebay_Session $session)
  52.     {
  53.         $return = parent::call($session);
  54.         $result = Services_Ebay::loadModel('MemberMessageList', $return, $session);
  55.         return $result;
  56.     }
  57. }
  58. ?>