Public Member Functions | |
cancelAllTickets () | |
helper function: cancels all usable tickets of this event | |
getAmountReservedFromDB () | |
get amount of reserved tickets from DB | |
getAmountSoldFromDB () | |
get amount of sold tickets from DB | |
syncPricesToDB () | |
helper function for create/changeEvent - pushes the current list of prices to the database | |
Static Public Member Functions | |
static | cancelEvent ($trans) |
called by CancelEvent transaction | |
static | changeEvent ($trans) |
called by ChangeEvent transaction | |
static | createEvent ($trans) |
called by CreateEvent transaction | |
static | getAllEvents ($trans) |
XML iface: get all events. | |
static | getEntranceEvents ($trans) |
called by the GetEntranceEvents transaction | |
static | getEventList ($trans) |
XML iface: get list of events. | |
static | getSummary ($trans) |
called by the GetEventSummary transaction: returns the full event summary |
WOEvent::cancelAllTickets | ( | ) |
helper function: cancels all usable tickets of this event
References $db, WTticket::MaskReturnable, WTticket::Refund, and WTticket::selectFromDB().
static WOEvent::cancelEvent | ( | $ | trans | ) | [static] |
called by CancelEvent transaction
References WOEventAbstract::fromTableevent(), WTevent::getFromDB(), and tr().
Referenced by WTrCancelEvent::handleRequest().
static WOEvent::changeEvent | ( | $ | trans | ) | [static] |
called by ChangeEvent transaction
References WOEventAbstract::fromTableevent(), WTevent::getFromDB(), and tr().
Referenced by WTrChangeEvent::handleRequest().
static WOEvent::createEvent | ( | $ | trans | ) | [static] |
called by CreateEvent transaction
References WOEventAbstract::fromTableevent(), WTevent::newRow(), and tr().
Referenced by WTrCreateEvent::handleRequest().
static WOEvent::getAllEvents | ( | $ | trans | ) | [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 WOEvent::getEntranceEvents | ( | $ | trans | ) | [static] |
called by the GetEntranceEvents transaction
References $db, WOEventAbstract::fromTableArrayevent(), and WTevent::selectFromDB().
Referenced by WTrGetEntranceEvents::handleRequest().
static WOEvent::getEventList | ( | $ | trans | ) | [static] |
XML iface: get list of events.
References $db, WOEventAbstract::fromTableArrayevent(), and WTevent::selectFromDB().
Referenced by WTrGetEventList::handleRequest().
static WOEvent::getSummary | ( | $ | trans | ) | [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, WTeventprice::newRow(), and WTeventprice::selectFromDB().