MagicSmoke  $VERSION$
WOVoucherAbstract Class Reference
Inheritance diagram for WOVoucherAbstract:
WObject WOVoucher WOVoucherAudit

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
 

Constructor & Destructor Documentation

WOVoucherAbstract::__construct ( )

Member Function Documentation

static WOVoucherAbstract::fromString (   $txt)
static

References translate().

static WOVoucherAbstract::fromTableArrayvoucher ( array  $table)
static
static WOVoucherAbstract::fromTablevoucher (   $table)
static
static WOVoucherAbstract::fromXml (   $xml,
  $elem 
)
static
static WOVoucherAbstract::fromXmlHelper (   $data,
  $xml,
  $elem 
)
staticprotected
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 ( )
WOVoucherAbstract::getvalue ( )

References $prop_value.

Referenced by toXmlHelper().

WOVoucherAbstract::getvoucherid ( )

References $prop_voucherid.

Referenced by toXmlHelper().

WOVoucherAbstract::propertyArray ( )
WOVoucherAbstract::setisused (   $value)
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)
WOVoucherAbstract::toXml (   $xml,
  $elementname = "Voucher" 
)

References toXmlHelper().

Referenced by toString().

static WOVoucherAbstract::validateisused (   $value)
static
static WOVoucherAbstract::validateorderid (   $value)
static
static WOVoucherAbstract::validateprice (   $value)
static
static WOVoucherAbstract::validatestatus (   $value)
static
static WOVoucherAbstract::validatetags (   $value)
static
static WOVoucherAbstract::validatevalidtime (   $value)
static
static WOVoucherAbstract::validatevalue (   $value)
static
static WOVoucherAbstract::validatevoucherid (   $value)
static

Member Data Documentation

WOVoucherAbstract::$prop_isused =null
protected
WOVoucherAbstract::$prop_orderid =null
protected
WOVoucherAbstract::$prop_price =null
protected
WOVoucherAbstract::$prop_status =null
protected

Referenced by getstatus().

WOVoucherAbstract::$prop_tags =null
protected
WOVoucherAbstract::$prop_validtime =null
protected
WOVoucherAbstract::$prop_value =null
protected
WOVoucherAbstract::$prop_voucherid =null
protected
const WOVoucherAbstract::InvalidPrice =2
const WOVoucherAbstract::InvalidTime =3
const WOVoucherAbstract::InvalidValue =1
const WOVoucherAbstract::Ok =0

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