MagicSmoke
$VERSION$
|
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 | |
WOCouponRule::__construct | ( | ) |
|
static |
References translate().
|
static |
References $i.
Referenced by WOCoupon\fromTablecoupon().
|
static |
|
static |
Referenced by WOCoupon\fromXmlHelper().
|
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 | ) |
References $prop_couponid, $prop_fromcategory, $prop_maxuse, $prop_needcategory, $prop_needtickets, $prop_ruleid, and $prop_tocategory.
WOCouponRule::toXml | ( | $xml, | |
$elementname = "CouponRule" |
|||
) |
References toXmlHelper().
Referenced by toString().
|
protected |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
protected |
Referenced by getcouponid(), getstr_couponid(), and toTablecouponrule().
|
protected |
Referenced by getfromcategory(), and toTablecouponrule().
|
protected |
Referenced by getmaxuse(), and toTablecouponrule().
|
protected |
Referenced by getneedcategory(), and toTablecouponrule().
|
protected |
Referenced by getneedtickets(), and toTablecouponrule().
|
protected |
Referenced by getruleid(), and toTablecouponrule().
|
protected |
Referenced by gettocategory(), and toTablecouponrule().