Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes

WOCartTicket Class Reference

Inheritance diagram for WOCartTicket:
WObject

List of all members.

Public Member Functions

 __construct ()
 getamount ()
 getcartid ()
 getcartlineid ()
 getevent ()
 geteventid ()
 geteventprice ()
 getmaxamount ()
 getprice ()
 getpricecategoryid ()
 getstatus ()
 getstr_amount ()
 getstr_cartid ()
 getstr_cartlineid ()
 getstr_eventid ()
 getstr_maxamount ()
 getstr_price ()
 getstr_pricecategoryid ()
 getstr_status ()
 propertyArray ()
 base for property array
 setamount ($value)
 setcartid ($value)
 setcartlineid ($value)
 setevent ($value)
 seteventid ($value)
 seteventprice ($value)
 setmaxamount ($value)
 setprice ($value)
 setpricecategoryid ($value)
 setstatus ($value)
 toString ()
 toTablecartticket (&$table)
 toXml ($xml, $elementname="CartTicket")

Static Public Member Functions

static fromString ($txt)
static fromTableArraycartticket (array $table)
static fromTablecartticket ($table)
static fromXml ($xml, $elem)
static validateamount ($value)
static validatecartid ($value)
static validatecartlineid ($value)
static validateevent ($value)
static validateeventid ($value)
static validateeventprice ($value)
static validatemaxamount ($value)
static validateprice ($value)
static validatepricecategoryid ($value)
static validatestatus ($value)

Public Attributes

const EventOver = 1
const Exhausted = 3
const Invalid = 4
const Ok = 0
const TooLate = 2

Protected Member Functions

 toXmlHelper ($xml, $root)
 base for serialization

Static Protected Member Functions

static fromXmlHelper ($data, $xml, $elem)
 base for deserialization

Protected Attributes

 $prop_amount = null
 $prop_cartid = null
 $prop_cartlineid = null
 $prop_event = null
 $prop_eventid = null
 $prop_eventprice = null
 $prop_maxamount = null
 $prop_price = null
 $prop_pricecategoryid = null
 $prop_status = null

Constructor & Destructor Documentation

WOCartTicket::__construct (  ) 

Reimplemented from WObject.


Member Function Documentation

static WOCartTicket::fromString ( txt  )  [static]

References fromXml(), and translate().

static WOCartTicket::fromTableArraycartticket ( array $  table  )  [static]
static WOCartTicket::fromTablecartticket ( table  )  [static]
static WOCartTicket::fromXml ( xml,
elem 
) [static]
static WOCartTicket::fromXmlHelper ( data,
xml,
elem 
) [static, protected]

base for deserialization

Reimplemented from WObject.

References WObject::elementsByTagName(), WOEventAbstract::fromXml(), and WOEventPriceAbstract::fromXml().

Referenced by fromXml().

WOCartTicket::getamount (  ) 

Referenced by toXmlHelper().

WOCartTicket::getcartid (  ) 

Referenced by toXmlHelper().

WOCartTicket::getcartlineid (  ) 

Referenced by toXmlHelper().

WOCartTicket::getevent (  ) 

Referenced by toXmlHelper().

WOCartTicket::geteventid (  ) 

Referenced by toXmlHelper().

WOCartTicket::geteventprice (  ) 

Referenced by toXmlHelper().

WOCartTicket::getmaxamount (  ) 

Referenced by toXmlHelper().

WOCartTicket::getprice (  ) 

Referenced by toXmlHelper().

WOCartTicket::getpricecategoryid (  ) 

Referenced by toXmlHelper().

WOCartTicket::getstatus (  ) 

Referenced by toXmlHelper().

WOCartTicket::getstr_amount (  ) 

Referenced by toXmlHelper().

WOCartTicket::getstr_cartid (  ) 

Referenced by toXmlHelper().

WOCartTicket::getstr_cartlineid (  ) 

Referenced by toXmlHelper().

WOCartTicket::getstr_eventid (  ) 

Referenced by toXmlHelper().

WOCartTicket::getstr_maxamount (  ) 

Referenced by toXmlHelper().

WOCartTicket::getstr_price (  ) 

Referenced by toXmlHelper().

WOCartTicket::getstr_pricecategoryid (  ) 

Referenced by toXmlHelper().

WOCartTicket::getstr_status (  ) 

References translate().

Referenced by toXmlHelper().

WOCartTicket::propertyArray (  ) 

base for property array

Reimplemented from WObject.

References WObject::objectToArray().

WOCartTicket::setamount ( value  ) 
WOCartTicket::setcartid ( value  ) 
WOCartTicket::setcartlineid ( value  ) 
WOCartTicket::setevent ( value  ) 
WOCartTicket::seteventid ( value  ) 
WOCartTicket::seteventprice ( value  ) 
WOCartTicket::setmaxamount ( value  ) 
WOCartTicket::setprice ( value  ) 
WOCartTicket::setpricecategoryid ( value  ) 
WOCartTicket::setstatus ( value  ) 
WOCartTicket::toString (  ) 

References toXml().

WOCartTicket::toTablecartticket ( &$  table  ) 
WOCartTicket::toXml ( xml,
elementname = "CartTicket" 
)

References toXmlHelper().

Referenced by toString().

static WOCartTicket::validateamount ( value  )  [static]
static WOCartTicket::validatecartid ( value  )  [static]
static WOCartTicket::validatecartlineid ( value  )  [static]
static WOCartTicket::validateevent ( value  )  [static]
static WOCartTicket::validateeventid ( value  )  [static]
static WOCartTicket::validateeventprice ( value  )  [static]
static WOCartTicket::validatemaxamount ( value  )  [static]
static WOCartTicket::validateprice ( value  )  [static]
static WOCartTicket::validatepricecategoryid ( value  )  [static]
static WOCartTicket::validatestatus ( value  )  [static]

Member Data Documentation

WOCartTicket::$prop_amount = null [protected]
WOCartTicket::$prop_cartid = null [protected]
WOCartTicket::$prop_cartlineid = null [protected]
WOCartTicket::$prop_event = null [protected]
WOCartTicket::$prop_eventid = null [protected]
WOCartTicket::$prop_eventprice = null [protected]
WOCartTicket::$prop_maxamount = null [protected]
WOCartTicket::$prop_price = null [protected]
WOCartTicket::$prop_pricecategoryid = null [protected]
WOCartTicket::$prop_status = null [protected]
const WOCartTicket::Ok = 0

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