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

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
 

Constructor & Destructor Documentation

WOCartVoucherAbstract::__construct ( )

Member Function Documentation

static WOCartVoucherAbstract::fromString (   $txt)
static

References translate().

static WOCartVoucherAbstract::fromTableArraycartvoucher ( array  $table)
static
static WOCartVoucherAbstract::fromTablecartvoucher (   $table)
static
static WOCartVoucherAbstract::fromXml (   $xml,
  $elem 
)
static
static WOCartVoucherAbstract::fromXmlHelper (   $data,
  $xml,
  $elem 
)
staticprotected
WOCartVoucherAbstract::getamount ( )

References $prop_amount.

Referenced by toXmlHelper().

WOCartVoucherAbstract::getcartid ( )

References $prop_cartid.

Referenced by toXmlHelper().

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

Referenced by getamount().

WOCartVoucherAbstract::$prop_cartid =null
protected
WOCartVoucherAbstract::$prop_cartlineid =null
protected
WOCartVoucherAbstract::$prop_price =null
protected

Referenced by getprice().

WOCartVoucherAbstract::$prop_status =null
protected

Referenced by getstatus().

WOCartVoucherAbstract::$prop_value =null
protected

Referenced by getvalue(), and toTablecartvoucher().

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

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