Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes

WOCartVoucherAbstract Class Reference

Inheritance diagram for WOCartVoucherAbstract:
WObject WOCartVoucher

List of all members.

Public Member Functions

 __construct ()
 getamount ()
 getcartid ()
 getcartlineid ()
 getprice ()
 getstatus ()
 getstr_amount ()
 getstr_cartid ()
 getstr_cartlineid ()
 getstr_price ()
 getstr_status ()
 getstr_value ()
 getvalue ()
 propertyArray ()
 base for property array
 setamount ($value)
 setcartid ($value)
 setcartlineid ($value)
 setprice ($value)
 setstatus ($value)
 setvalue ($value)
 toString ()
 toTablecartvoucher (&$table)
 toXml ($xml, $elementname="CartVoucher")

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)

Public Attributes

const InvalidPrice = 2
const InvalidValue = 1
const Ok = 0

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_cartid = null
 $prop_cartlineid = null
 $prop_price = null
 $prop_status = null
 $prop_value = null

Constructor & Destructor Documentation

WOCartVoucherAbstract::__construct (  ) 

Reimplemented from WObject.


Member Function Documentation

static WOCartVoucherAbstract::fromString ( txt  )  [static]

References fromXml(), and translate().

static WOCartVoucherAbstract::fromTableArraycartvoucher ( array $  table  )  [static]
static WOCartVoucherAbstract::fromTablecartvoucher ( table  )  [static]
static WOCartVoucherAbstract::fromXml ( xml,
elem 
) [static]
static WOCartVoucherAbstract::fromXmlHelper ( data,
xml,
elem 
) [static, protected]

base for deserialization

Reimplemented from WObject.

Referenced by fromXml().

WOCartVoucherAbstract::getamount (  ) 

Referenced by toXmlHelper().

WOCartVoucherAbstract::getcartid (  ) 

Referenced by toXmlHelper().

WOCartVoucherAbstract::getcartlineid (  ) 
WOCartVoucherAbstract::getprice (  ) 

Referenced by toXmlHelper().

WOCartVoucherAbstract::getstatus (  ) 

Referenced by toXmlHelper().

WOCartVoucherAbstract::getstr_amount (  ) 

Referenced by toXmlHelper().

WOCartVoucherAbstract::getstr_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 (  ) 

Referenced by toXmlHelper().

WOCartVoucherAbstract::propertyArray (  ) 

base for property array

Reimplemented from WObject.

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  ) 
WOCartVoucherAbstract::toXml ( xml,
elementname = "CartVoucher" 
)

References toXmlHelper().

Referenced by toString().

WOCartVoucherAbstract::toXmlHelper ( xml,
root 
) [protected]
static WOCartVoucherAbstract::validateamount ( value  )  [static]
static WOCartVoucherAbstract::validatecartid ( value  )  [static]
static WOCartVoucherAbstract::validatecartlineid ( value  )  [static]
static WOCartVoucherAbstract::validateprice ( value  )  [static]
static WOCartVoucherAbstract::validatestatus ( value  )  [static]
static WOCartVoucherAbstract::validatevalue ( value  )  [static]

Member Data Documentation

WOCartVoucherAbstract::$prop_amount = null [protected]
WOCartVoucherAbstract::$prop_cartid = null [protected]
WOCartVoucherAbstract::$prop_cartlineid = null [protected]
WOCartVoucherAbstract::$prop_price = null [protected]
WOCartVoucherAbstract::$prop_status = null [protected]
WOCartVoucherAbstract::$prop_value = null [protected]

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