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

Class: Services_Ebay_Model_Bid

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

Class Overview

Services_Ebay_Model
   |
   --Services_Ebay_Model_Bid

Model for a single bid


Author(s):

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 8]
Model for a single bid


[ Top ]


Method Detail

__construct (Constructor)   [line 24]

Services_Ebay_Model_Bid __construct( array $props, [Services_Ebay_Session $session = null], [integer $DetailLevel = 0])

Constructor
  • Access: public

Overrides Services_Ebay_Model::__construct() (create new model)

Parameters:

array   $props     properties
Services_Ebay_Session   $session     session
integer   $DetailLevel     detail-level

[ Top ]

getBidder   [line 45]

Services_Ebay_Model_User getBidder( )

Returns the user model with abbreviated user-information.

To fetch all information use the model's Get() method.

  1.   $user $bid->getBidder();
  2.  
  3.   // fetch the user's details from eBay
  4.   $user->Get($itemId);

  • Return: the user
  • Access: public

[ Top ]


Documentation generated on Thu, 30 Aug 2012 02:30:05 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.