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

Class: Services_Ebay

Source Location: /Services_Ebay-0.13.1/Services/Ebay.php

Class Overview


Services/Ebay.php


Author(s):

Methods


Inherited Variables

Inherited Methods


Class Details

[line 84]
Services/Ebay.php

package to access the eBay API



[ Top ]


Method Detail

getAvailableApiCalls   [line 457]

array getAvailableApiCalls( )

get list of all available API calls

This can be used to check, whether an API call already has been implemented

  • Return: list of all available calls
  • Access: public

[ Top ]

getSession   [line 340]

object Services_Ebay_Session getSession( string $devId, string $appId, string $certId, [string $encoding = 'ISO-8859-1'])

Factory method to create a new session
  • Access: public

Parameters:

string   $devId   —  developer id
string   $appId   —  application id
string   $certId   —  certificate id
string   $encoding   —  encoding that you want to use (UTF-8 or ISO-8859-1) If you choose to use ISO-8859-1, Services_Ebay will automatically encode and decode your data to and from UTF-8, as eBay only allows UTF-8 encoded data

[ Top ]

loadAPICall   [line 391]

void loadAPICall( string $method, [array $args = null])

load a method call
  • Access: public

Parameters:

string   $method   —  name of the method
array   $args   —  arguments

[ Top ]

loadCache   [line 436]

void loadCache( string $type, array $options)

load a model
  • Access: public

Parameters:

string   $type   —  type of the model
array   $options   —  properties

[ Top ]

loadModel   [line 413]

void loadModel( string $type, [array $properties = null], [ $session = null])

load a model
  • Access: public

Parameters:

string   $type   —  type of the model
array   $properties   —  properties
   $session   — 

[ Top ]

setDetailLevel   [line 380]

void setDetailLevel( integer $level)

set the detail level for all subsequent calls
  • Access: public

Parameters:

integer   $level   — 

[ Top ]

useModelClass   [line 353]

void useModelClass( string $model, string $class)

change the class that is used for a certain model
  • Access: public

Parameters:

string   $model   —  model name
string   $class   —  class name

[ Top ]

__construct (Constructor)   [line 323]

Services_Ebay __construct( Services_Ebay_Session $session)

create Services Ebay helper class
  • Access: public

Parameters:

object Services_Ebay_Session   $session   — 

[ Top ]

__call   [line 364]

void __call( string $method, array $args)

make an API call
  • Access: public

Parameters:

string   $method   —  method to call
array   $args   —  arguments of the call

[ Top ]


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