|
MagicSmoke
$VERSION$
|
Public Member Functions | |
| __construct () | |
| getamount () | |
| getcartid () | |
| getcartlineid () | |
| getprice () | |
| getstatus () | |
| getstr_amount () | |
| getstr_cartid () | |
| getstr_cartlineid () | |
| getstr_price () | |
| getstr_status () | |
| getstr_value () | |
| getvalue () | |
| propertyArray () | |
| setamount ($value) | |
| setcartid ($value) | |
| setcartlineid ($value) | |
| setprice ($value) | |
| setstatus ($value) | |
| setvalue ($value) | |
| toString () | |
| toTablecartvoucher (&$table) | |
| toXml ($xml, $elementname="CartVoucher") | |
Public Member Functions inherited from WObject | |
| propertyArray () | |
| base for property array More... | |
Static Public Member Functions | |
| static | fromString ($txt) |
| static | fromTableArraycartvoucher (array $table) |
| static | fromTablecartvoucher ($table) |
| static | fromXml ($xml, $elem) |
| static | validateamount ($value) |
| static | validatecartid ($value) |
| static | validatecartlineid ($value) |
| static | validateprice ($value) |
| static | validatestatus ($value) |
| static | validatevalue ($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... | |
Public Attributes | |
| const | InvalidPrice =2 |
| const | InvalidValue =1 |
| const | Ok =0 |
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_cartid =null | |
| $prop_cartlineid =null | |
| $prop_price =null | |
| $prop_status =null | |
| $prop_value =null | |
| WOCartVoucherAbstract::__construct | ( | ) |
|
static |
References translate().
|
static |
References $i.
Referenced by WOCartOrderAbstract\fromTablecart(), and WOWebCartAbstract\fromTablecart().
|
static |
|
static |
Referenced by WOCartOrderAbstract\fromXmlHelper(), and WOWebCartAbstract\fromXmlHelper().
|
staticprotected |
| WOCartVoucherAbstract::getamount | ( | ) |
References $prop_amount.
Referenced by toXmlHelper().
| WOCartVoucherAbstract::getcartid | ( | ) |
References $prop_cartid.
Referenced by toXmlHelper().
| WOCartVoucherAbstract::getcartlineid | ( | ) |
References $prop_cartlineid.
Referenced by WOCartVoucher\getInCartIdWeb(), and toXmlHelper().
| WOCartVoucherAbstract::getprice | ( | ) |
References $prop_price.
Referenced by toXmlHelper().
| WOCartVoucherAbstract::getstatus | ( | ) |
References $prop_status.
Referenced by toXmlHelper().
| WOCartVoucherAbstract::getstr_amount | ( | ) |
Referenced by toXmlHelper().
| WOCartVoucherAbstract::getstr_cartid | ( | ) |
References $prop_cartid.
Referenced by toXmlHelper().
| WOCartVoucherAbstract::getstr_cartlineid | ( | ) |
Referenced by toXmlHelper().
| WOCartVoucherAbstract::getstr_price | ( | ) |
Referenced by toXmlHelper().
| WOCartVoucherAbstract::getstr_status | ( | ) |
References translate().
Referenced by toXmlHelper().
| WOCartVoucherAbstract::getstr_value | ( | ) |
Referenced by toXmlHelper().
| WOCartVoucherAbstract::getvalue | ( | ) |
References $prop_value.
Referenced by toXmlHelper().
| WOCartVoucherAbstract::propertyArray | ( | ) |
| WOCartVoucherAbstract::setamount | ( | $value | ) |
| WOCartVoucherAbstract::setcartid | ( | $value | ) |
| WOCartVoucherAbstract::setcartlineid | ( | $value | ) |
| WOCartVoucherAbstract::setprice | ( | $value | ) |
| WOCartVoucherAbstract::setstatus | ( | $value | ) |
| WOCartVoucherAbstract::setvalue | ( | $value | ) |
| WOCartVoucherAbstract::toString | ( | ) |
References toXml().
| WOCartVoucherAbstract::toTablecartvoucher | ( | & | $table | ) |
References $prop_cartid, $prop_cartlineid, and $prop_value.
| WOCartVoucherAbstract::toXml | ( | $xml, | |
$elementname = "CartVoucher" |
|||
| ) |
References toXmlHelper().
Referenced by toString().
|
protected |
References getamount(), getcartid(), getcartlineid(), getprice(), getstatus(), getstr_amount(), getstr_cartid(), getstr_cartlineid(), getstr_price(), getstr_status(), getstr_value(), and getvalue().
Referenced by toXml().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
protected |
Referenced by getamount().
|
protected |
Referenced by getcartid(), getstr_cartid(), and toTablecartvoucher().
|
protected |
Referenced by getcartlineid(), and toTablecartvoucher().
|
protected |
Referenced by getprice().
|
protected |
Referenced by getstatus().
|
protected |
Referenced by getvalue(), and toTablecartvoucher().
| const WOCartVoucherAbstract::InvalidPrice =2 |
| const WOCartVoucherAbstract::InvalidValue =1 |
| const WOCartVoucherAbstract::Ok =0 |