MagicSmoke  $VERSION$
WOCartVoucher Class Reference
Inheritance diagram for WOCartVoucher:
WOCartVoucherAbstract WObject

Public Member Functions

 getInCartIdWeb ()
 used for web: returns the URL part of this voucher for removal More...
 
- Public Member Functions inherited from WOCartVoucherAbstract
 __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...
 

Additional Inherited Members

- Static Public Member Functions inherited from WOCartVoucherAbstract
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 inherited from WOCartVoucherAbstract
const InvalidPrice =2
 
const InvalidValue =1
 
const Ok =0
 
- Protected Member Functions inherited from WOCartVoucherAbstract
 toXmlHelper ($xml, $root)
 
- Protected Member Functions inherited from WObject
 __construct ()
 
 toXmlHelper ($xml, $root)
 base for serialization More...
 
- Static Protected Member Functions inherited from WOCartVoucherAbstract
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 inherited from WOCartVoucherAbstract
 $prop_amount =null
 
 $prop_cartid =null
 
 $prop_cartlineid =null
 
 $prop_price =null
 
 $prop_status =null
 
 $prop_value =null
 

Member Function Documentation

WOCartVoucher::getInCartIdWeb ( )

used for web: returns the URL part of this voucher for removal

References $basevars, and WOCartVoucherAbstract\getcartlineid().


The documentation for this class was generated from the following file: