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 / GetDescriptionTemplates.php < prev    next >
Encoding:
PHP Script  |  2008-07-02  |  1.2 KB  |  41 lines

  1. <?PHP
  2. /**
  3.  * Get templates for item description
  4.  *
  5.  * $Id: GetDescriptionTemplates.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/GetDescriptionTemplates/GetDescriptionTemplatesLogic.htm
  10.  * @todo    build some kind of model or container for the result, best would be some kind of mini templateing system.
  11.  */
  12. class Services_Ebay_Call_GetDescriptionTemplates extends Services_Ebay_Call 
  13. {
  14.    /**
  15.     * verb of the API call
  16.     *
  17.     * @var  string
  18.     */
  19.     protected $verb = 'GetDescriptionTemplates';
  20.  
  21.    /**
  22.     * parameter map that is used, when scalar parameters are passed
  23.     *
  24.     * @var  array
  25.     */
  26.     protected $paramMap = array(
  27.                                  'DateModified'
  28.                                 );
  29.    /**
  30.     * make the API call
  31.     *
  32.     * @param    object Services_Ebay_Session
  33.     * @return   string
  34.     */
  35.     public function call(Services_Ebay_Session $session)
  36.     {
  37.         $return = parent::call($session);
  38.         return $return['DescriptionTemplates'];
  39.     }
  40. }
  41. ?>