MagicSmoke  $VERSION$
WOCouponInfo Class Reference
Inheritance diagram for WOCouponInfo:
WObject

Public Member Functions

 __construct ()
 
 getcouponid ()
 
 getdescription ()
 
 getflags ()
 
 getstr_couponid ()
 
 getstr_description ()
 
 getstr_flags ()
 
 getstr_validfrom ()
 
 getstr_validtill ()
 
 getvalidfrom ()
 
 getvalidtill ()
 
 propertyArray ()
 
 setcouponid ($value)
 
 setdescription ($value)
 
 setflags ($value)
 
 setvalidfrom ($value)
 
 setvalidtill ($value)
 
 toString ()
 
 toTablecoupon (&$table)
 
 toXml ($xml, $elementname="CouponInfo")
 
- Public Member Functions inherited from WObject
 propertyArray ()
 base for property array More...
 

Static Public Member Functions

static fromString ($txt)
 
static fromTableArraycoupon (array $table)
 
static fromTablecoupon ($table)
 
static fromXml ($xml, $elem)
 
static validatecouponid ($value)
 
static validatedescription ($value)
 
static validateflags ($value)
 
static validatevalidfrom ($value)
 
static validatevalidtill ($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 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_couponid =null
 
 $prop_description =null
 
 $prop_flags =null
 
 $prop_validfrom =null
 
 $prop_validtill =null
 

Constructor & Destructor Documentation

WOCouponInfo::__construct ( )

Member Function Documentation

static WOCouponInfo::fromString (   $txt)
static

References translate().

static WOCouponInfo::fromTableArraycoupon ( array  $table)
static

References $i.

static WOCouponInfo::fromTablecoupon (   $table)
static
static WOCouponInfo::fromXml (   $xml,
  $elem 
)
static
static WOCouponInfo::fromXmlHelper (   $data,
  $xml,
  $elem 
)
staticprotected
WOCouponInfo::getcouponid ( )

References $prop_couponid.

Referenced by toXmlHelper().

WOCouponInfo::getdescription ( )

References $prop_description.

Referenced by toXmlHelper().

WOCouponInfo::getflags ( )

References $prop_flags.

Referenced by toXmlHelper().

WOCouponInfo::getstr_couponid ( )

References $prop_couponid.

Referenced by toXmlHelper().

WOCouponInfo::getstr_description ( )

References $prop_description.

Referenced by toXmlHelper().

WOCouponInfo::getstr_flags ( )

References $prop_flags.

Referenced by toXmlHelper().

WOCouponInfo::getstr_validfrom ( )

Referenced by toXmlHelper().

WOCouponInfo::getstr_validtill ( )

Referenced by toXmlHelper().

WOCouponInfo::getvalidfrom ( )

References $prop_validfrom.

Referenced by toXmlHelper().

WOCouponInfo::getvalidtill ( )

References $prop_validtill.

Referenced by toXmlHelper().

WOCouponInfo::propertyArray ( )
WOCouponInfo::setcouponid (   $value)
WOCouponInfo::setdescription (   $value)
WOCouponInfo::setflags (   $value)
WOCouponInfo::setvalidfrom (   $value)
WOCouponInfo::setvalidtill (   $value)
WOCouponInfo::toString ( )

References toXml().

WOCouponInfo::toTablecoupon ( $table)
WOCouponInfo::toXml (   $xml,
  $elementname = "CouponInfo" 
)

References toXmlHelper().

Referenced by toString().

WOCouponInfo::toXmlHelper (   $xml,
  $root 
)
protected
static WOCouponInfo::validatecouponid (   $value)
static
static WOCouponInfo::validatedescription (   $value)
static
static WOCouponInfo::validateflags (   $value)
static
static WOCouponInfo::validatevalidfrom (   $value)
static
static WOCouponInfo::validatevalidtill (   $value)
static

Member Data Documentation

WOCouponInfo::$prop_couponid =null
protected
WOCouponInfo::$prop_description =null
protected
WOCouponInfo::$prop_flags =null
protected
WOCouponInfo::$prop_validfrom =null
protected

Referenced by getvalidfrom(), and toTablecoupon().

WOCouponInfo::$prop_validtill =null
protected

Referenced by getvalidtill(), and toTablecoupon().


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