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

Public Member Functions

 __construct ()
 
 getamount ()
 
 getcartid ()
 
 getcartlineid ()
 
 getevent ()
 
 geteventid ()
 
 geteventprice ()
 
 getmaxamount ()
 
 getorigeventprice ()
 
 getorigpricecategoryid ()
 
 getprice ()
 
 getpricecategoryid ()
 
 getstatus ()
 
 getstatustext ()
 
 getstr_amount ()
 
 getstr_cartid ()
 
 getstr_cartlineid ()
 
 getstr_eventid ()
 
 getstr_maxamount ()
 
 getstr_origpricecategoryid ()
 
 getstr_price ()
 
 getstr_pricecategoryid ()
 
 getstr_status ()
 
 getstr_statustext ()
 
 propertyArray ()
 
 setamount ($value)
 
 setcartid ($value)
 
 setcartlineid ($value)
 
 setevent ($value)
 
 seteventid ($value)
 
 seteventprice ($value)
 
 setmaxamount ($value)
 
 setorigeventprice ($value)
 
 setorigpricecategoryid ($value)
 
 setprice ($value)
 
 setpricecategoryid ($value)
 
 setstatus ($value)
 
 setstatustext ($value)
 
 toString ()
 
 toTablecartticket (&$table)
 
 toXml ($xml, $elementname="CartTicket")
 
- Public Member Functions inherited from WObject
 propertyArray ()
 base for property array More...
 

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 validateorigeventprice ($value)
 
static validateorigpricecategoryid ($value)
 
static validateprice ($value)
 
static validatepricecategoryid ($value)
 
static validatestatus ($value)
 
static validatestatustext ($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...
 

Public Attributes

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

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_amount =null
 
 $prop_cartid =null
 
 $prop_cartlineid =null
 
 $prop_event =null
 
 $prop_eventid =null
 
 $prop_eventprice =null
 
 $prop_maxamount =null
 
 $prop_origeventprice =null
 
 $prop_origpricecategoryid =null
 
 $prop_price =null
 
 $prop_pricecategoryid =null
 
 $prop_status =null
 
 $prop_statustext =null
 

Constructor & Destructor Documentation

WOCartTicket::__construct ( )

Member Function Documentation

static WOCartTicket::fromString (   $txt)
static

References translate().

static WOCartTicket::fromTableArraycartticket ( array  $table)
static
static WOCartTicket::fromTablecartticket (   $table)
static
static WOCartTicket::fromXml (   $xml,
  $elem 
)
static
static WOCartTicket::fromXmlHelper (   $data,
  $xml,
  $elem 
)
staticprotected
WOCartTicket::getamount ( )

References $prop_amount.

Referenced by toXmlHelper().

WOCartTicket::getcartid ( )

References $prop_cartid.

Referenced by toXmlHelper().

WOCartTicket::getcartlineid ( )

References $prop_cartlineid.

Referenced by toXmlHelper().

WOCartTicket::getevent ( )

References $prop_event.

Referenced by toXmlHelper().

WOCartTicket::geteventid ( )

References $prop_eventid.

Referenced by toXmlHelper().

WOCartTicket::geteventprice ( )

References $prop_eventprice.

Referenced by toXmlHelper().

WOCartTicket::getmaxamount ( )

References $prop_maxamount.

Referenced by toXmlHelper().

WOCartTicket::getorigeventprice ( )

References $prop_origeventprice.

Referenced by toXmlHelper().

WOCartTicket::getorigpricecategoryid ( )

References $prop_origpricecategoryid.

Referenced by toXmlHelper().

WOCartTicket::getprice ( )

References $prop_price.

Referenced by toXmlHelper().

WOCartTicket::getpricecategoryid ( )

References $prop_pricecategoryid.

Referenced by toXmlHelper().

WOCartTicket::getstatus ( )

References $prop_status.

Referenced by toXmlHelper().

WOCartTicket::getstatustext ( )

References $prop_statustext.

Referenced by toXmlHelper().

WOCartTicket::getstr_amount ( )

Referenced by toXmlHelper().

WOCartTicket::getstr_cartid ( )

References $prop_cartid.

Referenced by toXmlHelper().

WOCartTicket::getstr_cartlineid ( )

Referenced by toXmlHelper().

WOCartTicket::getstr_eventid ( )

Referenced by toXmlHelper().

WOCartTicket::getstr_maxamount ( )

Referenced by toXmlHelper().

WOCartTicket::getstr_origpricecategoryid ( )

Referenced by toXmlHelper().

WOCartTicket::getstr_price ( )

Referenced by toXmlHelper().

WOCartTicket::getstr_pricecategoryid ( )

Referenced by toXmlHelper().

WOCartTicket::getstr_status ( )

References translate().

Referenced by toXmlHelper().

WOCartTicket::getstr_statustext ( )

References $prop_statustext.

Referenced by toXmlHelper().

WOCartTicket::propertyArray ( )
WOCartTicket::setamount (   $value)
WOCartTicket::setcartid (   $value)
WOCartTicket::setcartlineid (   $value)
WOCartTicket::setevent (   $value)
WOCartTicket::seteventid (   $value)
WOCartTicket::seteventprice (   $value)
WOCartTicket::setmaxamount (   $value)
WOCartTicket::setorigeventprice (   $value)
WOCartTicket::setorigpricecategoryid (   $value)
WOCartTicket::setprice (   $value)
WOCartTicket::setpricecategoryid (   $value)
WOCartTicket::setstatus (   $value)
WOCartTicket::setstatustext (   $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::validateorigeventprice (   $value)
static
static WOCartTicket::validateorigpricecategoryid (   $value)
static
static WOCartTicket::validateprice (   $value)
static
static WOCartTicket::validatepricecategoryid (   $value)
static
static WOCartTicket::validatestatus (   $value)
static
static WOCartTicket::validatestatustext (   $value)
static

Member Data Documentation

WOCartTicket::$prop_amount =null
protected

Referenced by getamount(), and toTablecartticket().

WOCartTicket::$prop_cartid =null
protected
WOCartTicket::$prop_cartlineid =null
protected

Referenced by getcartlineid().

WOCartTicket::$prop_event =null
protected

Referenced by getevent().

WOCartTicket::$prop_eventid =null
protected

Referenced by geteventid(), and toTablecartticket().

WOCartTicket::$prop_eventprice =null
protected

Referenced by geteventprice().

WOCartTicket::$prop_maxamount =null
protected

Referenced by getmaxamount().

WOCartTicket::$prop_origeventprice =null
protected

Referenced by getorigeventprice().

WOCartTicket::$prop_origpricecategoryid =null
protected
WOCartTicket::$prop_price =null
protected

Referenced by getprice().

WOCartTicket::$prop_pricecategoryid =null
protected
WOCartTicket::$prop_status =null
protected

Referenced by getstatus().

WOCartTicket::$prop_statustext =null
protected

Referenced by getstatustext(), and getstr_statustext().

const WOCartTicket::EventOver =1
const WOCartTicket::Exhausted =3

Referenced by EventPlan\addTickets().

const WOCartTicket::Invalid =4
const WOCartTicket::Ok =0
const WOCartTicket::TooLate =2

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