MagicSmoke
$VERSION$
|
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 More... | |
getAmountTicketsBlockFromDB () | |
used by table mapping to count tickets More... | |
getAmountTicketsFromDB () | |
used by table mapping to count tickets More... | |
getCategoryIdWeb () | |
helper for web UI: returns the value for HTML variables for this event price: an index indicating category and event IDs More... | |
Public Member Functions inherited from WOEventPriceAbstract | |
__construct () | |
getamounttickets () | |
getamountticketsblock () | |
getcanuse () | |
geteventid () | |
getflags () | |
getmaxavailable () | |
getprice () | |
getpricecategory () | |
getpricecategoryid () | |
getprio () | |
getstr_amounttickets () | |
getstr_amountticketsblock () | |
getstr_canuse () | |
getstr_eventid () | |
getstr_flags () | |
getstr_maxavailable () | |
getstr_price () | |
getstr_pricecategoryid () | |
getstr_prio () | |
getstr_tags () | |
gettags () | |
propertyArray () | |
setamounttickets ($value) | |
setamountticketsblock ($value) | |
setcanuse ($value) | |
seteventid ($value) | |
setflags ($value) | |
setmaxavailable ($value) | |
setprice ($value) | |
setpricecategory ($value) | |
setpricecategoryid ($value) | |
setprio ($value) | |
settags ($value) | |
toString () | |
toTableeventprice (&$table) | |
toXml ($xml, $elementname="EventPrice") | |
Public Member Functions inherited from WObject | |
propertyArray () | |
base for property array More... | |
Static Public Member Functions | |
static | getCategoryIdFromAmountIndex ($idx) |
helper function for web UI: returns the event ID from an amount field index More... | |
static | getEventIdFromAmountIndex ($idx) |
helper function for web UI: returns the event ID from an amount field index More... | |
Static Public Member Functions inherited from WOEventPriceAbstract | |
static | fromString ($txt) |
static | fromTableArrayeventprice (array $table) |
static | fromTableeventprice ($table) |
static | fromXml ($xml, $elem) |
static | validateamounttickets ($value) |
static | validateamountticketsblock ($value) |
static | validatecanuse ($value) |
static | validateeventid ($value) |
static | validateflags ($value) |
static | validatemaxavailable ($value) |
static | validateprice ($value) |
static | validatepricecategory ($value) |
static | validatepricecategoryid ($value) |
static | validateprio ($value) |
static | validatetags ($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 WOEventPriceAbstract | |
toXmlHelper ($xml, $root) | |
Protected Member Functions inherited from WObject | |
__construct () | |
toXmlHelper ($xml, $root) | |
base for serialization More... | |
Static Protected Member Functions inherited from WOEventPriceAbstract | |
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 WOEventPriceAbstract | |
$prop_amounttickets =null | |
$prop_amountticketsblock =null | |
$prop_canuse =null | |
$prop_eventid =null | |
$prop_flags =null | |
$prop_maxavailable =null | |
$prop_price =null | |
$prop_pricecategory =null | |
$prop_pricecategoryid =null | |
$prop_prio =null | |
$prop_tags =null | |
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 |
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, and WOEventPriceAbstract\$prop_eventid.
|
static |
helper function for web UI: returns the event ID from an amount field index
Referenced by WebCart\addTickets(), and WebCart\removeItem().