MagicSmoke
$VERSION$
|
Public Member Functions | |
__construct () | |
add_rules ($value) | |
clear_rules () | |
getamountuse () | |
getcouponid () | |
getdescription () | |
getflags () | |
getrules () | |
getstr_amountuse () | |
getstr_couponid () | |
getstr_description () | |
getstr_flags () | |
getstr_ticketsperorder () | |
getstr_validfrom () | |
getstr_validtill () | |
getticketsperorder () | |
getvalidfrom () | |
getvalidtill () | |
propertyArray () | |
setamountuse ($value) | |
setcouponid ($value) | |
setdescription ($value) | |
setflags ($value) | |
setrules (array $values) | |
setticketsperorder ($value) | |
setvalidfrom ($value) | |
setvalidtill ($value) | |
toString () | |
toTablecoupon (&$table) | |
toXml ($xml, $elementname="Coupon") | |
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 | validateamountuse ($value) |
static | validatecouponid ($value) |
static | validatedescription ($value) |
static | validateflags ($value) |
static | validaterules ($value) |
static | validateticketsperorder ($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_amountuse =null | |
$prop_couponid =null | |
$prop_description =null | |
$prop_flags =null | |
$prop_rules | |
$prop_ticketsperorder =null | |
$prop_validfrom =null | |
$prop_validtill =null | |
WOCoupon::__construct | ( | ) |
WOCoupon::add_rules | ( | $value | ) |
WOCoupon::clear_rules | ( | ) |
|
static |
References translate().
|
static |
References $i.
Referenced by WTrGetCouponList\handleRequest().
|
static |
|
static |
|
staticprotected |
References WObject\elementsByTagName(), and WOCouponRule\fromXml().
WOCoupon::getamountuse | ( | ) |
References $prop_amountuse.
Referenced by toXmlHelper().
WOCoupon::getcouponid | ( | ) |
References $prop_couponid.
Referenced by toXmlHelper().
WOCoupon::getdescription | ( | ) |
References $prop_description.
Referenced by toXmlHelper().
WOCoupon::getflags | ( | ) |
References $prop_flags.
Referenced by toXmlHelper().
WOCoupon::getrules | ( | ) |
References $prop_rules.
Referenced by toXmlHelper().
WOCoupon::getstr_amountuse | ( | ) |
Referenced by toXmlHelper().
WOCoupon::getstr_couponid | ( | ) |
References $prop_couponid.
Referenced by toXmlHelper().
WOCoupon::getstr_description | ( | ) |
References $prop_description.
Referenced by toXmlHelper().
WOCoupon::getstr_flags | ( | ) |
References $prop_flags.
Referenced by toXmlHelper().
WOCoupon::getstr_ticketsperorder | ( | ) |
Referenced by toXmlHelper().
WOCoupon::getstr_validfrom | ( | ) |
Referenced by toXmlHelper().
WOCoupon::getstr_validtill | ( | ) |
Referenced by toXmlHelper().
WOCoupon::getticketsperorder | ( | ) |
References $prop_ticketsperorder.
Referenced by toXmlHelper().
WOCoupon::getvalidfrom | ( | ) |
References $prop_validfrom.
Referenced by toXmlHelper().
WOCoupon::getvalidtill | ( | ) |
References $prop_validtill.
Referenced by toXmlHelper().
WOCoupon::propertyArray | ( | ) |
WOCoupon::setamountuse | ( | $value | ) |
WOCoupon::setcouponid | ( | $value | ) |
WOCoupon::setdescription | ( | $value | ) |
WOCoupon::setflags | ( | $value | ) |
WOCoupon::setrules | ( | array | $values | ) |
WOCoupon::setticketsperorder | ( | $value | ) |
WOCoupon::setvalidfrom | ( | $value | ) |
WOCoupon::setvalidtill | ( | $value | ) |
WOCoupon::toString | ( | ) |
References toXml().
WOCoupon::toTablecoupon | ( | & | $table | ) |
References $prop_amountuse, $prop_couponid, $prop_description, $prop_flags, $prop_ticketsperorder, $prop_validfrom, and $prop_validtill.
WOCoupon::toXml | ( | $xml, | |
$elementname = "Coupon" |
|||
) |
References toXmlHelper().
Referenced by toString().
|
protected |
References getamountuse(), getcouponid(), getdescription(), getflags(), getrules(), getstr_amountuse(), getstr_couponid(), getstr_description(), getstr_flags(), getstr_ticketsperorder(), getstr_validfrom(), getstr_validtill(), getticketsperorder(), getvalidfrom(), getvalidtill(), and xq().
Referenced by toXml().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
protected |
Referenced by getamountuse(), and toTablecoupon().
|
protected |
Referenced by getcouponid(), getstr_couponid(), and toTablecoupon().
|
protected |
Referenced by getdescription(), getstr_description(), and toTablecoupon().
|
protected |
Referenced by getflags(), getstr_flags(), and toTablecoupon().
|
protected |
Referenced by getrules().
|
protected |
Referenced by getticketsperorder(), and toTablecoupon().
|
protected |
Referenced by getvalidfrom(), and toTablecoupon().
|
protected |
Referenced by getvalidtill(), and toTablecoupon().