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 2 cs
4
 *
5
 * $Id: GetCategory2CS.php,v 1.1 2005/01/04 20:10:18 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/GetCategory2CS/GetCategory2CSLogic.htm
10
 *
11
 * @todo    finish this API call
12
 * @todo    build a model for this
13
 */
14
class Services_Ebay_Call_GetCategory2CS extends Services_Ebay_Call
15
{
16
   /**
17
    * verb of the API call
18
    *
19
    * @var  string
20
    */
21
    protected $verb = 'GetCategory2CS';
22
 
23
   /**
24
    * parameter map that is used, when scalar parameters are passed
25
    *
26
    * @var  array
27
    */
28
    protected $paramMap = array(
29
                                 'CategoryId',
30
                                );
31
 
32
   /**
33
    * arguments of the call
34
    *
35
    * @var  array
36
    */
37
    protected $args = array(
38
                            'DetailLevel' => 1
39
                        );
40
 
41
    protected $unserializerOptions = array(
42
                                            'keyAttribute' => array('Category' => 'id')
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
        return $return['Category2CS'];
55
    }
56
}
57
?>