|
MagicSmoke
$VERSION$
|
Static Public Member Functions | |
| static | cancelEvent ($trans) |
| called by CancelEvent transaction More... | |
| static | changeEvent ($trans) |
| called by ChangeEvent transaction More... | |
| static | createEvent ($trans) |
| called by CreateEvent transaction More... | |
| static | getAllEvents ($trans) |
| XML iface: get all events. More... | |
| static | getEntranceEvents ($trans) |
| called by the GetEntranceEvents transaction More... | |
| static | getEventList ($trans) |
| XML iface: get list of events. More... | |
| static | getSummary ($trans) |
| called by the GetEventSummary transaction: returns the full event summary More... | |
Static Public Member Functions inherited from WOEventAbstract | |
| static | fromString ($txt) |
| static | fromTableArrayevent (array $table) |
| static | fromTableevent ($table) |
| static | fromXml ($xml, $elem) |
| static | validateamountFree ($value) |
| static | validateamountReserved ($value) |
| static | validateamountSold ($value) |
| static | validateartist ($value) |
| static | validateartistid ($value) |
| static | validatecancelreason ($value) |
| static | validatecanuse ($value) |
| static | validatecapacity ($value) |
| static | validatecomment ($value) |
| static | validatedescription ($value) |
| static | validateend ($value) |
| static | validateflags ($value) |
| static | validateid ($value) |
| static | validateiscancelled ($value) |
| static | validateprice ($value) |
| static | validateroom ($value) |
| static | validateseatplan ($value) |
| static | validateseatplanid ($value) |
| static | validatestart ($value) |
| static | validatetags ($value) |
| static | validatetax ($value) |
| static | validatetitle ($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... | |
Additional Inherited Members | |
Protected Member Functions inherited from WOEventAbstract | |
| toXmlHelper ($xml, $root) | |
Protected Member Functions inherited from WObject | |
| __construct () | |
| toXmlHelper ($xml, $root) | |
| base for serialization More... | |
Static Protected Member Functions inherited from WOEventAbstract | |
| 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 inherited from WOEventAbstract | |
| $prop_amountFree =null | |
| $prop_amountReserved =null | |
| $prop_amountSold =null | |
| $prop_artist =null | |
| $prop_artistid =null | |
| $prop_cancelreason =null | |
| $prop_canuse =null | |
| $prop_capacity =null | |
| $prop_comment =null | |
| $prop_description =null | |
| $prop_end =null | |
| $prop_flags =null | |
| $prop_id =null | |
| $prop_iscancelled =null | |
| $prop_price | |
| $prop_room =null | |
| $prop_seatplan =null | |
| $prop_seatplanid =null | |
| $prop_start =null | |
| $prop_tags =null | |
| $prop_tax =null | |
| $prop_title =null | |
| WOEvent::cancelAllTickets | ( | ) |
helper function: cancels all usable tickets of this event
References $db, WTticket\MaskReturnable, WTticket\Refund, and WTticket\selectFromDB().
|
static |
called by CancelEvent transaction
References WOEventAbstract\fromTableevent(), WTevent\getFromDB(), and tr().
Referenced by WTrCancelEvent\handleRequest().
|
static |
called by ChangeEvent transaction
References WOEventAbstract\fromTableevent(), WTevent\getFromDB(), and tr().
Referenced by WTrChangeEvent\handleRequest().
|
static |
called by CreateEvent transaction
References WOEventAbstract\fromTableevent(), WTevent\newRow(), and tr().
Referenced by WTrCreateEvent\handleRequest().
|
static |
XML iface: get all events.
References WOEventAbstract\fromTableArrayevent(), and WTevent\selectFromDB().
Referenced by WTrGetAllEvents\handleRequest().
| WOEvent::getAmountReservedFromDB | ( | ) |
get amount of reserved tickets from DB
References $db, and WTticket\Reserved.
| WOEvent::getAmountSoldFromDB | ( | ) |
get amount of sold tickets from DB
References $db, WTticket\Ordered, and WTticket\Used.
|
static |
called by the GetEntranceEvents transaction
References $db, WOEventAbstract\fromTableArrayevent(), and WTevent\selectFromDB().
Referenced by WTrGetEntranceEvents\handleRequest().
|
static |
XML iface: get list of events.
References $db, WOEventAbstract\fromTableArrayevent(), and WTevent\selectFromDB().
Referenced by WTrGetEventList\handleRequest().
|
static |
called by the GetEventSummary transaction: returns the full event summary
References $db, WOOrderAbstract\fromTableArrayorder(), WOEventAbstract\fromTableevent(), WTevent\getFromDB(), WTorder\selectFromDB(), and tr().
Referenced by WTrGetEventSummary\handleRequest().
| WOEvent::syncPricesToDB | ( | ) |
helper function for create/changeEvent - pushes the current list of prices to the database
References $db, WOEventAbstract\$prop_id, WTeventprice\newRow(), and WTeventprice\selectFromDB().