MagicSmoke
$VERSION$
|
Public Member Functions | |
__construct () | |
getaudittime () | |
getaudittransaction () | |
getaudituname () | |
getcomment () | |
getstr_audittime () | |
getstr_audittransaction () | |
getstr_audituname () | |
getstr_comment () | |
propertyArray () | |
setaudittime ($value) | |
setaudittransaction ($value) | |
setaudituname ($value) | |
setcomment ($value) | |
toString () | |
toTablevoucher_audit (&$table) | |
toXml ($xml, $elementname="VoucherAudit") | |
Public Member Functions inherited from WOVoucher | |
isStillValid () | |
returns true if the voucher is currently valid More... | |
updatedValidity () | |
returns a timestamp to be stored for updating the validity period upon use of the voucher More... | |
Public Member Functions inherited from WOVoucherAbstract | |
__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_audit (array $table) |
static | fromTablevoucher_audit ($table) |
static | fromXml ($xml, $elem) |
static | validateaudittime ($value) |
static | validateaudittransaction ($value) |
static | validateaudituname ($value) |
static | validatecomment ($value) |
Static Public Member Functions inherited from WOVoucher | |
static | calculateInitialValidity () |
calculates an initial validity date and returns it as timestamp More... | |
static | calculateUpdatedValidity ($time) |
returns a timestamp to be stored for updating the validity period upon use of the voucher More... | |
static | getTransactionComment () |
helper for audit table creation More... | |
static | GetVoucherAuditTransaction ($trans) |
implements the GetVoucherAudit transaction More... | |
static | validVoucherPrices () |
returns all valid voucher prices More... | |
Static Public Member Functions inherited from WOVoucherAbstract | |
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... | |
Protected Member Functions | |
toXmlHelper ($xml, $root) | |
Protected Member Functions inherited from WOVoucherAbstract | |
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 WOVoucherAbstract | |
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_audittime =null | |
$prop_audittransaction =null | |
$prop_audituname =null | |
$prop_comment =null | |
Protected Attributes inherited from WOVoucherAbstract | |
$prop_isused =null | |
$prop_orderid =null | |
$prop_price =null | |
$prop_status =null | |
$prop_tags =null | |
$prop_validtime =null | |
$prop_value =null | |
$prop_voucherid =null | |
Additional Inherited Members | |
Public Attributes inherited from WOVoucherAbstract | |
const | InvalidPrice =2 |
const | InvalidTime =3 |
const | InvalidValue =1 |
const | Ok =0 |
WOVoucherAudit::__construct | ( | ) |
|
static |
References translate().
|
static |
References $i.
Referenced by WOOrder\getOrderAuditTransaction(), WOOrder\getUserAuditTransaction(), and WOVoucher\GetVoucherAuditTransaction().
|
static |
|
static |
|
staticprotected |
References WObject\elementsByTagName().
WOVoucherAudit::getaudittime | ( | ) |
References $prop_audittime.
Referenced by toXmlHelper().
WOVoucherAudit::getaudittransaction | ( | ) |
References $prop_audittransaction.
Referenced by toXmlHelper().
WOVoucherAudit::getaudituname | ( | ) |
References $prop_audituname.
Referenced by toXmlHelper().
WOVoucherAudit::getcomment | ( | ) |
References $prop_comment.
Referenced by toXmlHelper().
WOVoucherAudit::getstr_audittime | ( | ) |
Referenced by toXmlHelper().
WOVoucherAudit::getstr_audittransaction | ( | ) |
References $prop_audittransaction.
Referenced by toXmlHelper().
WOVoucherAudit::getstr_audituname | ( | ) |
References $prop_audituname.
Referenced by toXmlHelper().
WOVoucherAudit::getstr_comment | ( | ) |
References $prop_comment.
Referenced by toXmlHelper().
WOVoucherAudit::propertyArray | ( | ) |
WOVoucherAudit::setaudittime | ( | $value | ) |
WOVoucherAudit::setaudittransaction | ( | $value | ) |
WOVoucherAudit::setaudituname | ( | $value | ) |
WOVoucherAudit::setcomment | ( | $value | ) |
WOVoucherAudit::toString | ( | ) |
References toXml().
WOVoucherAudit::toTablevoucher_audit | ( | & | $table | ) |
References $prop_audittime, $prop_audittransaction, $prop_audituname, $prop_comment, WOVoucherAbstract\$prop_isused, WOVoucherAbstract\$prop_orderid, WOVoucherAbstract\$prop_price, WOVoucherAbstract\$prop_tags, WOVoucherAbstract\$prop_validtime, WOVoucherAbstract\$prop_value, and WOVoucherAbstract\$prop_voucherid.
WOVoucherAudit::toXml | ( | $xml, | |
$elementname = "VoucherAudit" |
|||
) |
References toXmlHelper().
Referenced by toString().
|
protected |
References getaudittime(), getaudittransaction(), getaudituname(), getcomment(), getstr_audittime(), getstr_audittransaction(), getstr_audituname(), getstr_comment(), and xq().
Referenced by toXml().
|
static |
|
static |
|
static |
|
static |
|
protected |
Referenced by getaudittime(), and toTablevoucher_audit().
|
protected |
Referenced by getaudittransaction(), getstr_audittransaction(), and toTablevoucher_audit().
|
protected |
Referenced by getaudituname(), getstr_audituname(), and toTablevoucher_audit().
|
protected |
Referenced by getcomment(), getstr_comment(), and toTablevoucher_audit().