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

Public Member Functions

 __construct ()
 
 getamountopen ()
 
 getamountreserved ()
 
 getamounttickets ()
 
 getamountused ()
 
 getstr_amountopen ()
 
 getstr_amountreserved ()
 
 getstr_amounttickets ()
 
 getstr_amountused ()
 
 getstr_usestatus ()
 
 getticket ()
 
 getusestatus ()
 
 propertyArray ()
 
 setamountopen ($value)
 
 setamountreserved ($value)
 
 setamounttickets ($value)
 
 setamountused ($value)
 
 setticket ($value)
 
 setusestatus ($value)
 
 toString ()
 
 toXml ($xml, $elementname="TicketUse")
 
- Public Member Functions inherited from WObject
 propertyArray ()
 base for property array More...
 

Static Public Member Functions

static fromString ($txt)
 
static fromXml ($xml, $elem)
 
static validateamountopen ($value)
 
static validateamountreserved ($value)
 
static validateamounttickets ($value)
 
static validateamountused ($value)
 
static validateticket ($value)
 
static validateusestatus ($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 AlreadyUsed =4
 
const InvalidEvent =7
 
const NotFound =2
 
const NotUsable =5
 
const Ok =1
 
const Unpaid =6
 
const WrongEvent =3
 

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_amountopen =null
 
 $prop_amountreserved =null
 
 $prop_amounttickets =null
 
 $prop_amountused =null
 
 $prop_ticket =null
 
 $prop_usestatus =null
 

Constructor & Destructor Documentation

WOTicketUse::__construct ( )

Member Function Documentation

static WOTicketUse::fromString (   $txt)
static

References translate().

static WOTicketUse::fromXml (   $xml,
  $elem 
)
static
static WOTicketUse::fromXmlHelper (   $data,
  $xml,
  $elem 
)
staticprotected
WOTicketUse::getamountopen ( )

References $prop_amountopen.

Referenced by toXmlHelper().

WOTicketUse::getamountreserved ( )

References $prop_amountreserved.

Referenced by toXmlHelper().

WOTicketUse::getamounttickets ( )

References $prop_amounttickets.

Referenced by toXmlHelper().

WOTicketUse::getamountused ( )

References $prop_amountused.

Referenced by toXmlHelper().

WOTicketUse::getstr_amountopen ( )

Referenced by toXmlHelper().

WOTicketUse::getstr_amountreserved ( )

Referenced by toXmlHelper().

WOTicketUse::getstr_amounttickets ( )

Referenced by toXmlHelper().

WOTicketUse::getstr_amountused ( )

Referenced by toXmlHelper().

WOTicketUse::getstr_usestatus ( )

References translate().

Referenced by toXmlHelper().

WOTicketUse::getticket ( )

References $prop_ticket.

Referenced by toXmlHelper().

WOTicketUse::getusestatus ( )

References $prop_usestatus.

Referenced by toXmlHelper().

WOTicketUse::propertyArray ( )
WOTicketUse::setamountopen (   $value)
WOTicketUse::setamountreserved (   $value)
WOTicketUse::setamounttickets (   $value)
WOTicketUse::setamountused (   $value)
WOTicketUse::setticket (   $value)
WOTicketUse::setusestatus (   $value)
WOTicketUse::toString ( )

References toXml().

WOTicketUse::toXml (   $xml,
  $elementname = "TicketUse" 
)

References toXmlHelper().

Referenced by toString().

static WOTicketUse::validateamountopen (   $value)
static
static WOTicketUse::validateamountreserved (   $value)
static
static WOTicketUse::validateamounttickets (   $value)
static
static WOTicketUse::validateamountused (   $value)
static
static WOTicketUse::validateticket (   $value)
static
static WOTicketUse::validateusestatus (   $value)
static

Member Data Documentation

WOTicketUse::$prop_amountopen =null
protected

Referenced by getamountopen().

WOTicketUse::$prop_amountreserved =null
protected

Referenced by getamountreserved().

WOTicketUse::$prop_amounttickets =null
protected

Referenced by getamounttickets().

WOTicketUse::$prop_amountused =null
protected

Referenced by getamountused().

WOTicketUse::$prop_ticket =null
protected

Referenced by getticket().

WOTicketUse::$prop_usestatus =null
protected

Referenced by getusestatus().

const WOTicketUse::AlreadyUsed =4

Referenced by WOTicket\useTicket().

const WOTicketUse::InvalidEvent =7

Referenced by WOTicket\useTicket().

const WOTicketUse::NotFound =2

Referenced by WOTicket\useTicket().

const WOTicketUse::NotUsable =5

Referenced by WOTicket\useTicket().

const WOTicketUse::Ok =1

Referenced by WOTicket\useTicket().

const WOTicketUse::Unpaid =6

Referenced by WOTicket\useTicket().

const WOTicketUse::WrongEvent =3

Referenced by WOTicket\useTicket().


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