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 all items a user is selling
4
 *
5
 * $Id: GetSellerList.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/GetRuName/GetRuNameLogic.htm
10
 * @todo    test paginating
11
 * @todo    build item list model
12
 */
13
class Services_Ebay_Call_GetSellerList extends Services_Ebay_Call
14
{
15
   /**
16
    * verb of the API call
17
    *
18
    * @var  string
19
    */
20
    protected $verb = 'GetSellerList';
21
 
22
   /**
23
    * arguments of the call
24
    *
25
    * @var  array
26
    */
27
    protected $args = array(
28
                            'UserId'       => null,
29
                            'DetailLevel'  => 16
30
                        );
31
   /**
32
    * parameter map that is used, when scalar parameters are passed
33
    *
34
    * @var  array
35
    */
36
    protected $paramMap = array(
37
                                 'UserId',
38
                                 'ItemsPerPage',
39
                                 'PageNumber',
40
                                 'Sort',
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 Services_Ebay::loadModel('ItemList', $return['SellerList'], $session);
53
    }
54
}
55
?>