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

Class: Services_Ebay_Model_User

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

Class Overview

Services_Ebay_Model
   |
   --Services_Ebay_Model_User

Model for an eBay user


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods

Class: Services_Ebay_Model

Services_Ebay_Model::__construct()
create new model
Services_Ebay_Model::GetModifiedProperties()
get the properties that have been modified, since the item has been fetched the last time.
Services_Ebay_Model::getPrimaryKey()
get the primary key of the model
Services_Ebay_Model::isCached()
check, whether the model has been cached
Services_Ebay_Model::offsetExists()
check, whether a property exists
Services_Ebay_Model::offsetGet()
get a property
Services_Ebay_Model::offsetSet()
set a property
Services_Ebay_Model::offsetUnset()
unset a property
Services_Ebay_Model::setCache()
set the cache
Services_Ebay_Model::setSession()
set the session
Services_Ebay_Model::toArray()
return all properties of the user
Services_Ebay_Model::__get()
get a property
Services_Ebay_Model::__set()
set a property

Class Details

[line 9]
Model for an eBay user


[ Top ]


Class Variables

$primaryKey =  'UserID'

[line 23]

property that stores the unique identifier (=pk) of the model
  • Access: protected

Type:   string
Overrides:   Array


[ Top ]

$type =  'User'

[line 16]

model type
  • Access: protected

Type:   string
Overrides:   Array


[ Top ]



Method Detail

Get   [line 124]

void Get( [string $ItemId = null])

get the user from eBay

Use this to query by a previously set user id

  1.  $user Services_Ebay::loadModel('User''superman-74'$session);
  2.  $user->Get();


Parameters:

string   $ItemId   —  ItemId

[ Top ]

GetBidderList   [line 73]

void GetBidderList( [ $Active = true], [ $DetailLevel = 'ReturnAll'], [ $EndTimeFrom = null], [ $EndTimeTo = null])

get list of items on which the user is/has been bidding

Parameters:

   $Active   — 
   $DetailLevel   — 
   $EndTimeFrom   — 
   $EndTimeTo   — 

[ Top ]

GetFeedback   [line 33]

void GetFeedback( [int $DetailLevel = Services_Ebay::FEEDBACK_BRIEF], [int $StartingPage = 1], [int $ItemsPerPage = 25])

get the feedback for the user

Parameters:

int   $DetailLevel   —  Detail Level
int   $StartingPage   —  starting page
int   $ItemsPerPage   —  items per page

[ Top ]

GetSellerList   [line 55]

void GetSellerList( [array $args = array()])

get the list of items the user is selling

Parameters:

array   $args   —  all arguments

[ Top ]

LeaveFeedback   [line 94]

void LeaveFeedback( array $ItemId, $CommentType, $Comment, [ $TransactionId = null])

leave feedback for the user

Parameters:

array   $ItemId   —  all arguments
   $CommentType   — 
   $Comment   — 
   $TransactionId   — 

[ Top ]


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