Product
in package
Table of Contents
- $ean : Ean
- $offers : OfferCollection
- $root : DOMElement
- fromXmlResponse() : self
- getAveragePrice() : float
- getEan() : Ean
- getHighestPrice() : float
- getLowestPrice() : float
- getMedianPrice() : float
- getName() : string
- getOffers() : OfferCollection
- __construct() : mixed
Properties
$ean
private
Ean
$ean
$offers
private
OfferCollection
$offers
$root
private
DOMElement
$root
Methods
fromXmlResponse()
public
static fromXmlResponse(DOMDocument $document) : self
Parameters
- $document : DOMDocument
Return values
self —getAveragePrice()
public
getAveragePrice() : float
Return values
float —getEan()
public
getEan() : Ean
Return values
Ean —getHighestPrice()
public
getHighestPrice() : float
Return values
float —getLowestPrice()
public
getLowestPrice() : float
Return values
float —getMedianPrice()
public
getMedianPrice() : float
Return values
float —getName()
public
getName() : string
Return values
string —getOffers()
public
getOffers() : OfferCollection
Return values
OfferCollection —__construct()
private
__construct(DOMElement $root) : mixed
Parameters
- $root : DOMElement