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 |
WOItemInfo::__construct | ( | ) |
Reimplemented from WObject.
Reimplemented in WOItemAudit.
static WOItemInfo::fromString | ( | $ | txt | ) | [static] |
Reimplemented in WOItemAudit.
References fromXml(), and translate().
static WOItemInfo::fromTableArrayitem | ( | array $ | table | ) | [static] |
Referenced by WOOrderAbstract::fromTableorder().
static WOItemInfo::fromTableitem | ( | $ | table | ) | [static] |
References WTproduct::getFromDB().
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 | ( | ) |
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" | |||
) |
WOItemInfo::toXmlHelper | ( | $ | xml, | |
$ | root | |||
) | [protected] |
base for serialization
Reimplemented from WObject.
Reimplemented in WOItemAudit.
References getamount(), getitemid(), getorderid(), getproductid(), getproductname(), getstr_amount(), getstr_itemid(), getstr_orderid(), getstr_productid(), getstr_productname(), getstr_totalprice(), gettotalprice(), and xq().
Referenced by toXml().
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] |
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] |