MagicSmoke  $VERSION$
WOItemInfo Class Reference
Inheritance diagram for WOItemInfo:
WObject WOItemAudit

Public Member Functions

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

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)
 
- Static Public Member Functions inherited from WObject
static elementsByTagName ($root, $tag)
 helper function that returns only the elements directly beneith the one given as $root More...
 
static fromXmlBoolean ($str)
 helper function for XML'ized objects that transforms XML boolean to PHP boolean More...
 
static isXmlBoolean ($str)
 helper function for XML'ized objects: it returns whether the string is a valid boolean More...
 

Protected Member Functions

 toXmlHelper ($xml, $root)
 
- Protected Member Functions inherited from WObject
 __construct ()
 
 toXmlHelper ($xml, $root)
 base for serialization More...
 

Static Protected Member Functions

static fromXmlHelper ($data, $xml, $elem)
 
- Static Protected Member Functions inherited from WObject
static fromXmlHelper ($data, $xml, $elem)
 base for deserialization More...
 
static objectToArray ($obj)
 helper function for classy objects that calls getPropertyArray if available More...
 

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 ( )

Member Function Documentation

static WOItemInfo::fromString (   $txt)
static

References translate().

static WOItemInfo::fromTableArrayitem ( array  $table)
static

References $i.

Referenced by WOOrderAbstract\fromTableorder().

static WOItemInfo::fromTableitem (   $table)
static

References WTproduct\getFromDB().

static WOItemInfo::fromXml (   $xml,
  $elem 
)
static
static WOItemInfo::fromXmlHelper (   $data,
  $xml,
  $elem 
)
staticprotected
WOItemInfo::getamount ( )

References $prop_amount.

Referenced by toXmlHelper().

WOItemInfo::getitemid ( )

References $prop_itemid.

Referenced by toXmlHelper().

WOItemInfo::getorderid ( )

References $prop_orderid.

Referenced by toXmlHelper().

WOItemInfo::getproductid ( )

References $prop_productid.

Referenced by toXmlHelper().

WOItemInfo::getproductname ( )

References $prop_productname.

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 ( )

References $prop_productname.

Referenced by toXmlHelper().

WOItemInfo::getstr_totalprice ( )

Referenced by toXmlHelper().

WOItemInfo::gettotalprice ( )

References $prop_totalprice.

Referenced by toXmlHelper().

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

References toXml().

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

References toXmlHelper().

Referenced by toString().

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: