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

Public Member Functions

 __construct ()
 
 getcouponid ()
 
 getfromcategory ()
 
 getmaxuse ()
 
 getneedcategory ()
 
 getneedtickets ()
 
 getruleid ()
 
 getstr_couponid ()
 
 getstr_fromcategory ()
 
 getstr_maxuse ()
 
 getstr_needcategory ()
 
 getstr_needtickets ()
 
 getstr_ruleid ()
 
 getstr_tocategory ()
 
 gettocategory ()
 
 propertyArray ()
 
 setcouponid ($value)
 
 setfromcategory ($value)
 
 setmaxuse ($value)
 
 setneedcategory ($value)
 
 setneedtickets ($value)
 
 setruleid ($value)
 
 settocategory ($value)
 
 toString ()
 
 toTablecouponrule (&$table)
 
 toXml ($xml, $elementname="CouponRule")
 
- Public Member Functions inherited from WObject
 propertyArray ()
 base for property array More...
 

Static Public Member Functions

static fromString ($txt)
 
static fromTableArraycouponrule (array $table)
 
static fromTablecouponrule ($table)
 
static fromXml ($xml, $elem)
 
static validatecouponid ($value)
 
static validatefromcategory ($value)
 
static validatemaxuse ($value)
 
static validateneedcategory ($value)
 
static validateneedtickets ($value)
 
static validateruleid ($value)
 
static validatetocategory ($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_fromcategory =null
 
 $prop_maxuse =null
 
 $prop_needcategory =null
 
 $prop_needtickets =null
 
 $prop_ruleid =null
 
 $prop_tocategory =null
 

Constructor & Destructor Documentation

WOCouponRule::__construct ( )

Member Function Documentation

static WOCouponRule::fromString (   $txt)
static

References translate().

static WOCouponRule::fromTableArraycouponrule ( array  $table)
static

References $i.

Referenced by WOCoupon\fromTablecoupon().

static WOCouponRule::fromTablecouponrule (   $table)
static
static WOCouponRule::fromXml (   $xml,
  $elem 
)
static

Referenced by WOCoupon\fromXmlHelper().

static WOCouponRule::fromXmlHelper (   $data,
  $xml,
  $elem 
)
staticprotected
WOCouponRule::getcouponid ( )

References $prop_couponid.

Referenced by toXmlHelper().

WOCouponRule::getfromcategory ( )

References $prop_fromcategory.

Referenced by toXmlHelper().

WOCouponRule::getmaxuse ( )

References $prop_maxuse.

Referenced by toXmlHelper().

WOCouponRule::getneedcategory ( )

References $prop_needcategory.

Referenced by toXmlHelper().

WOCouponRule::getneedtickets ( )

References $prop_needtickets.

Referenced by toXmlHelper().

WOCouponRule::getruleid ( )

References $prop_ruleid.

Referenced by toXmlHelper().

WOCouponRule::getstr_couponid ( )

References $prop_couponid.

Referenced by toXmlHelper().

WOCouponRule::getstr_fromcategory ( )

Referenced by toXmlHelper().

WOCouponRule::getstr_maxuse ( )

Referenced by toXmlHelper().

WOCouponRule::getstr_needcategory ( )

Referenced by toXmlHelper().

WOCouponRule::getstr_needtickets ( )

Referenced by toXmlHelper().

WOCouponRule::getstr_ruleid ( )

Referenced by toXmlHelper().

WOCouponRule::getstr_tocategory ( )

Referenced by toXmlHelper().

WOCouponRule::gettocategory ( )

References $prop_tocategory.

Referenced by toXmlHelper().

WOCouponRule::propertyArray ( )
WOCouponRule::setcouponid (   $value)
WOCouponRule::setfromcategory (   $value)
WOCouponRule::setmaxuse (   $value)
WOCouponRule::setneedcategory (   $value)
WOCouponRule::setneedtickets (   $value)
WOCouponRule::setruleid (   $value)
WOCouponRule::settocategory (   $value)
WOCouponRule::toString ( )

References toXml().

WOCouponRule::toTablecouponrule ( $table)
WOCouponRule::toXml (   $xml,
  $elementname = "CouponRule" 
)

References toXmlHelper().

Referenced by toString().

static WOCouponRule::validatecouponid (   $value)
static
static WOCouponRule::validatefromcategory (   $value)
static
static WOCouponRule::validatemaxuse (   $value)
static
static WOCouponRule::validateneedcategory (   $value)
static
static WOCouponRule::validateneedtickets (   $value)
static
static WOCouponRule::validateruleid (   $value)
static
static WOCouponRule::validatetocategory (   $value)
static

Member Data Documentation

WOCouponRule::$prop_couponid =null
protected
WOCouponRule::$prop_fromcategory =null
protected
WOCouponRule::$prop_maxuse =null
protected

Referenced by getmaxuse(), and toTablecouponrule().

WOCouponRule::$prop_needcategory =null
protected
WOCouponRule::$prop_needtickets =null
protected
WOCouponRule::$prop_ruleid =null
protected

Referenced by getruleid(), and toTablecouponrule().

WOCouponRule::$prop_tocategory =null
protected

Referenced by gettocategory(), and toTablecouponrule().


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