|
MagicSmoke
$VERSION$
|
Public Member Functions | |
| __construct () | |
| getisused () | |
| getorderid () | |
| getprice () | |
| getstatus () | |
| getstr_isused () | |
| getstr_orderid () | |
| getstr_price () | |
| getstr_status () | |
| getstr_tags () | |
| getstr_validtime () | |
| getstr_value () | |
| getstr_voucherid () | |
| gettags () | |
| getvalidtime () | |
| getvalue () | |
| getvoucherid () | |
| propertyArray () | |
| setisused ($value) | |
| setorderid ($value) | |
| setprice ($value) | |
| setstatus ($value) | |
| settags ($value) | |
| setvalidtime ($value) | |
| setvalue ($value) | |
| setvoucherid ($value) | |
| toString () | |
| toTablevoucher (&$table) | |
| toXml ($xml, $elementname="Voucher") | |
Public Member Functions inherited from WObject | |
| propertyArray () | |
| base for property array More... | |
Static Public Member Functions | |
| static | fromString ($txt) |
| static | fromTableArrayvoucher (array $table) |
| static | fromTablevoucher ($table) |
| static | fromXml ($xml, $elem) |
| static | validateisused ($value) |
| static | validateorderid ($value) |
| static | validateprice ($value) |
| static | validatestatus ($value) |
| static | validatetags ($value) |
| static | validatevalidtime ($value) |
| static | validatevalue ($value) |
| static | validatevoucherid ($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 | InvalidTime =3 |
| 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_isused =null | |
| $prop_orderid =null | |
| $prop_price =null | |
| $prop_status =null | |
| $prop_tags =null | |
| $prop_validtime =null | |
| $prop_value =null | |
| $prop_voucherid =null | |
| WOVoucherAbstract::__construct | ( | ) |
|
static |
References translate().
|
static |
References $i.
Referenced by WOOrderAbstract\fromTableorder(), and WOOrderInfo\getTotalPriceFromDB().
|
static |
|
static |
Referenced by WOOrderAbstract\fromXmlHelper().
|
staticprotected |
References WObject\elementsByTagName().
| WOVoucherAbstract::getisused | ( | ) |
References $prop_isused.
Referenced by toXmlHelper().
| WOVoucherAbstract::getorderid | ( | ) |
References $prop_orderid.
Referenced by toXmlHelper().
| WOVoucherAbstract::getprice | ( | ) |
References $prop_price.
Referenced by toXmlHelper().
| WOVoucherAbstract::getstatus | ( | ) |
References $prop_status.
Referenced by toXmlHelper().
| WOVoucherAbstract::getstr_isused | ( | ) |
Referenced by toXmlHelper().
| WOVoucherAbstract::getstr_orderid | ( | ) |
Referenced by toXmlHelper().
| WOVoucherAbstract::getstr_price | ( | ) |
Referenced by toXmlHelper().
| WOVoucherAbstract::getstr_status | ( | ) |
References translate().
Referenced by toXmlHelper().
| WOVoucherAbstract::getstr_tags | ( | ) |
References $prop_tags.
Referenced by toXmlHelper().
| WOVoucherAbstract::getstr_validtime | ( | ) |
Referenced by toXmlHelper().
| WOVoucherAbstract::getstr_value | ( | ) |
Referenced by toXmlHelper().
| WOVoucherAbstract::getstr_voucherid | ( | ) |
References $prop_voucherid.
Referenced by toXmlHelper().
| WOVoucherAbstract::gettags | ( | ) |
References $prop_tags.
Referenced by toXmlHelper().
| WOVoucherAbstract::getvalidtime | ( | ) |
References $prop_validtime.
Referenced by WOVoucher\isStillValid(), toXmlHelper(), and WOVoucher\updatedValidity().
| WOVoucherAbstract::getvalue | ( | ) |
References $prop_value.
Referenced by toXmlHelper().
| WOVoucherAbstract::getvoucherid | ( | ) |
References $prop_voucherid.
Referenced by toXmlHelper().
| WOVoucherAbstract::propertyArray | ( | ) |
| WOVoucherAbstract::setisused | ( | $value | ) |
References WObject\fromXmlBoolean(), and WObject\isXmlBoolean().
| WOVoucherAbstract::setorderid | ( | $value | ) |
| WOVoucherAbstract::setprice | ( | $value | ) |
| WOVoucherAbstract::setstatus | ( | $value | ) |
| WOVoucherAbstract::settags | ( | $value | ) |
| WOVoucherAbstract::setvalidtime | ( | $value | ) |
| WOVoucherAbstract::setvalue | ( | $value | ) |
| WOVoucherAbstract::setvoucherid | ( | $value | ) |
| WOVoucherAbstract::toString | ( | ) |
References toXml().
| WOVoucherAbstract::toTablevoucher | ( | & | $table | ) |
References $prop_isused, $prop_orderid, $prop_price, $prop_tags, $prop_validtime, $prop_value, and $prop_voucherid.
| WOVoucherAbstract::toXml | ( | $xml, | |
$elementname = "Voucher" |
|||
| ) |
References toXmlHelper().
Referenced by toString().
|
protected |
References getisused(), getorderid(), getprice(), getstatus(), getstr_isused(), getstr_orderid(), getstr_price(), getstr_status(), getstr_tags(), getstr_validtime(), getstr_value(), getstr_voucherid(), gettags(), getvalidtime(), getvalue(), getvoucherid(), and xq().
Referenced by toXml().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
protected |
Referenced by getisused(), toTablevoucher(), and WOVoucherAudit\toTablevoucher_audit().
|
protected |
Referenced by getorderid(), toTablevoucher(), and WOVoucherAudit\toTablevoucher_audit().
|
protected |
Referenced by getprice(), toTablevoucher(), and WOVoucherAudit\toTablevoucher_audit().
|
protected |
Referenced by getstatus().
|
protected |
Referenced by getstr_tags(), gettags(), toTablevoucher(), and WOVoucherAudit\toTablevoucher_audit().
|
protected |
Referenced by getvalidtime(), toTablevoucher(), and WOVoucherAudit\toTablevoucher_audit().
|
protected |
Referenced by getvalue(), toTablevoucher(), and WOVoucherAudit\toTablevoucher_audit().
|
protected |
Referenced by getstr_voucherid(), getvoucherid(), toTablevoucher(), and WOVoucherAudit\toTablevoucher_audit().
| const WOVoucherAbstract::InvalidPrice =2 |
| const WOVoucherAbstract::InvalidTime =3 |
| const WOVoucherAbstract::InvalidValue =1 |
| const WOVoucherAbstract::Ok =0 |