Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?PHP
2
/**
3
 * Get category listing
4
 *
5
 * $Id: GetCategoryListings.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/GetCategoryListings/GetCategoryListingsLogic.htm
10
 */
11
class Services_Ebay_Call_GetCategoryListings extends Services_Ebay_Call
12
{
13
   /**
14
    * verb of the API call
15
    *
16
    * @var  string
17
    */
18
    protected $verb = 'GetCategoryListings';
19
 
20
   /**
21
    * arguments of the call
22
    *
23
    * @var  array
24
    */
25
    protected $args = array(
26
                            'ItemsPerPage'   => 100,
27
                            'PageNumber'     => 1,
28
                            'ItemTypeFilter' => 0
29
                        );
30
   /**
31
    * parameter map that is used, when scalar parameters are passed
32
    *
33
    * @var  array
34
    */
35
    protected $paramMap = array(
36
                                 'CategoryId',
37
                                 'ItemsPerPage',
38
                                 'PageNumber',
39
                                 'OrderBy',
40
                                 'ItemTypeFilter',
41
                                );
42
 
43
   /**
44
    * make the API call
45
    *
46
    * @param    object Services_Ebay_Session
47
    * @return   string
48
    */
49
    public function call(Services_Ebay_Session $session)
50
    {
51
        $return = parent::call($session);
52
        return $return['Listings'];
53
    }
54
}
55
?>