Services_Ebay
[ class tree: Services_Ebay ] [ index: Services_Ebay ] [ all elements ]

Source for file GetSearchResults.php

Documentation is available at GetSearchResults.php

  1. <?PHP
  2. /**
  3.  * Get search results
  4.  *
  5.  * $Id$
  6.  *
  7.  * @package Services_Ebay
  8.  * @author  Stephan Schmidt <schst@php.net>
  9.  * @link    http://developer.ebay.com/DevZone/docs/API_Doc/Functions/GetSearchResults/GetSearchResultsLogic.htm
  10.  */
  11. {
  12.    /**
  13.     * verb of the API call
  14.     *
  15.     * @var  string 
  16.     */
  17.     protected $verb = 'GetSearchResults';
  18.  
  19.     protected $since = 425;
  20.  
  21.     protected $args = array(
  22.                             'Pagination'     => array(
  23.                                                         'EntriesPerPage'=> 100
  24.                                                     )
  25.                         );
  26.  
  27.    /**
  28.     * parameter map that is used, when scalar parameters are passed
  29.     *
  30.     * @var  array 
  31.     */
  32.     protected $paramMap = array(
  33.                                  'Query',
  34.                                  'SearchFlags',
  35.                                  'CategoryID'
  36.                                 );
  37.     
  38.    /**
  39.     * make the API call
  40.     *
  41.     * @param    object Services_Ebay_Session 
  42.     * @return   string 
  43.     */
  44.     public function call(Services_Ebay_Session $session)
  45.     {
  46.         $return = parent::call($session);
  47.         return Services_Ebay::loadModel('SearchResult'$return$session);
  48.     }
  49. }
  50. ?>

Documentation generated on Mon, 11 Mar 2019 15:49:48 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.