Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes

WOItemInfo Class Reference

Inheritance diagram for WOItemInfo:
WObject WOItemAudit

List of all members.

Public Member Functions

 __construct ()
 getamount ()
 getitemid ()
 getorderid ()
 getproductid ()
 getproductname ()
 getstr_amount ()
 getstr_itemid ()
 getstr_orderid ()
 getstr_productid ()
 getstr_productname ()
 getstr_totalprice ()
 gettotalprice ()
 propertyArray ()
 base for property array
 setamount ($value)
 setitemid ($value)
 setorderid ($value)
 setproductid ($value)
 setproductname ($value)
 settotalprice ($value)
 toString ()
 toTableitem (&$table)
 toXml ($xml, $elementname="ItemInfo")

Static Public Member Functions

static fromString ($txt)
static fromTableArrayitem (array $table)
static fromTableitem ($table)
static fromXml ($xml, $elem)
static validateamount ($value)
static validateitemid ($value)
static validateorderid ($value)
static validateproductid ($value)
static validateproductname ($value)
static validatetotalprice ($value)

Protected Member Functions

 toXmlHelper ($xml, $root)
 base for serialization

Static Protected Member Functions

static fromXmlHelper ($data, $xml, $elem)
 base for deserialization

Protected Attributes

 $prop_amount = null
 $prop_itemid = null
 $prop_orderid = null
 $prop_productid = null
 $prop_productname = null
 $prop_totalprice = null

Constructor & Destructor Documentation

WOItemInfo::__construct (  ) 

Reimplemented from WObject.

Reimplemented in WOItemAudit.


Member Function Documentation

static WOItemInfo::fromString ( txt  )  [static]

Reimplemented in WOItemAudit.

References fromXml(), and translate().

static WOItemInfo::fromTableArrayitem ( array $  table  )  [static]
static WOItemInfo::fromTableitem ( table  )  [static]
static WOItemInfo::fromXml ( xml,
elem 
) [static]

Reimplemented in WOItemAudit.

References fromXmlHelper().

Referenced by fromString(), and WOOrderAbstract::fromXmlHelper().

static WOItemInfo::fromXmlHelper ( data,
xml,
elem 
) [static, protected]

base for deserialization

Reimplemented from WObject.

Reimplemented in WOItemAudit.

References WObject::elementsByTagName().

Referenced by fromXml().

WOItemInfo::getamount (  ) 

Referenced by toXmlHelper().

WOItemInfo::getitemid (  ) 

Referenced by toXmlHelper().

WOItemInfo::getorderid (  ) 

Referenced by toXmlHelper().

WOItemInfo::getproductid (  ) 

Referenced by toXmlHelper().

WOItemInfo::getproductname (  ) 

Referenced by toXmlHelper().

WOItemInfo::getstr_amount (  ) 

Referenced by toXmlHelper().

WOItemInfo::getstr_itemid (  ) 

Referenced by toXmlHelper().

WOItemInfo::getstr_orderid (  ) 

Referenced by toXmlHelper().

WOItemInfo::getstr_productid (  ) 

Referenced by toXmlHelper().

WOItemInfo::getstr_productname (  ) 

Referenced by toXmlHelper().

WOItemInfo::getstr_totalprice (  ) 

Referenced by toXmlHelper().

WOItemInfo::gettotalprice (  ) 

Referenced by toXmlHelper().

WOItemInfo::propertyArray (  ) 

base for property array

Reimplemented from WObject.

Reimplemented in WOItemAudit.

WOItemInfo::setamount ( value  ) 
WOItemInfo::setitemid ( value  ) 
WOItemInfo::setorderid ( value  ) 
WOItemInfo::setproductid ( value  ) 
WOItemInfo::setproductname ( value  ) 
WOItemInfo::settotalprice ( value  ) 
WOItemInfo::toString (  ) 

Reimplemented in WOItemAudit.

References toXml().

WOItemInfo::toTableitem ( &$  table  ) 
WOItemInfo::toXml ( xml,
elementname = "ItemInfo" 
)

Reimplemented in WOItemAudit.

References toXmlHelper().

Referenced by toString().

WOItemInfo::toXmlHelper ( xml,
root 
) [protected]
static WOItemInfo::validateamount ( value  )  [static]
static WOItemInfo::validateitemid ( value  )  [static]
static WOItemInfo::validateorderid ( value  )  [static]
static WOItemInfo::validateproductid ( value  )  [static]
static WOItemInfo::validateproductname ( value  )  [static]
static WOItemInfo::validatetotalprice ( value  )  [static]

Member Data Documentation

WOItemInfo::$prop_amount = null [protected]
WOItemInfo::$prop_itemid = null [protected]
WOItemInfo::$prop_orderid = null [protected]
WOItemInfo::$prop_productid = null [protected]
WOItemInfo::$prop_productname = null [protected]
WOItemInfo::$prop_totalprice = null [protected]

The documentation for this class was generated from the following file: