Public Member Functions | Static Public Member Functions

WOEventPrice Class Reference

Inheritance diagram for WOEventPrice:
WOEventPriceAbstract WObject

List of all members.

Public Member Functions

 getAmountinputfield ()
 helper for web UI: returns the name of the field for this event price, always the configured amount field from WebCart plus an index indicating category and event IDs
 getAmountTicketsBlockFromDB ()
 used by table mapping to count tickets
 getAmountTicketsFromDB ()
 used by table mapping to count tickets
 getCategoryIdWeb ()
 helper for web UI: returns the value for HTML variables for this event price: an index indicating category and event IDs

Static Public Member Functions

static getCategoryIdFromAmountIndex ($idx)
 helper function for web UI: returns the event ID from an amount field index
static getEventIdFromAmountIndex ($idx)
 helper function for web UI: returns the event ID from an amount field index

Member Function Documentation

WOEventPrice::getAmountinputfield (  ) 

helper for web UI: returns the name of the field for this event price, always the configured amount field from WebCart plus an index indicating category and event IDs

References WebCart::TicketAmountField.

WOEventPrice::getAmountTicketsBlockFromDB (  ) 

used by table mapping to count tickets

References $db, and WTticket::MaskBlock.

WOEventPrice::getAmountTicketsFromDB (  ) 

used by table mapping to count tickets

References $db.

static WOEventPrice::getCategoryIdFromAmountIndex ( idx  )  [static]

helper function for web UI: returns the event ID from an amount field index

Referenced by WebCart::addTickets(), and WebCart::removeItem().

WOEventPrice::getCategoryIdWeb (  ) 

helper for web UI: returns the value for HTML variables for this event price: an index indicating category and event IDs

References $basevars.

static WOEventPrice::getEventIdFromAmountIndex ( idx  )  [static]

helper function for web UI: returns the event ID from an amount field index

Referenced by WebCart::addTickets(), and WebCart::removeItem().


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