MagicSmoke
$VERSION$
|
Public Member Functions | |
__construct () | |
constructs a fresh seat plan object More... | |
addTickets ($numtickets, $categoryid) | |
tries to add tickets in a specific category to the corresponding group(s) returns true on success, false if not all tickets could be added in case of error the internal state may be inconsistent, so subsequent calls to this method are not reliable More... | |
groupById ($abbr) | |
finds a group by its ID/abbreviation or null if it cannot be found More... | |
initGroups ($eventid) | |
initializes additional properties of groups and aligns with the event More... | |
lastError () | |
priceAbbrs ($prc) | |
priceCapacities ($prc) | |
priceIDs ($prc) | |
![]() | |
__construct () | |
add_Background ($value) | |
add_DefPrice ($value) | |
add_Group ($value) | |
add_Image ($value) | |
add_VGroup ($value) | |
clear_Background () | |
clear_DefPrice () | |
clear_Group () | |
clear_Image () | |
clear_VGroup () | |
getBackground () | |
getDefPrice () | |
getexclusive () | |
getGroup () | |
getImage () | |
getstr_exclusive () | |
getstr_version () | |
getversion () | |
getVGroup () | |
propertyArray () | |
setBackground (array $values) | |
setDefPrice (array $values) | |
setexclusive ($value) | |
setGroup (array $values) | |
setImage (array $values) | |
setversion ($value) | |
setVGroup (array $values) | |
toString () | |
toXml ($xml, $elementname="SeatPlan") | |
![]() | |
propertyArray () | |
base for property array More... | |
Additional Inherited Members | |
![]() | |
static | fromString ($txt) |
static | fromXml ($xml, $elem) |
static | validateBackground ($value) |
static | validateDefPrice ($value) |
static | validateexclusive ($value) |
static | validateGroup ($value) |
static | validateImage ($value) |
static | validateversion ($value) |
static | validateVGroup ($value) |
![]() | |
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... | |
![]() | |
toXmlHelper ($xml, $root) | |
![]() | |
__construct () | |
toXmlHelper ($xml, $root) | |
base for serialization More... | |
![]() | |
static | fromXmlHelper ($data, $xml, $elem) |
![]() | |
static | fromXmlHelper ($data, $xml, $elem) |
base for deserialization More... | |
static | objectToArray ($obj) |
helper function for classy objects that calls getPropertyArray if available More... | |
![]() | |
$prop_Background | |
$prop_DefPrice | |
$prop_exclusive =null | |
$prop_Group | |
$prop_Image | |
$prop_version =null | |
$prop_VGroup | |
WOSeatPlan::__construct | ( | ) |
constructs a fresh seat plan object
References WTpricecategory\selectFromDB().
WOSeatPlan::addTickets | ( | $numtickets, | |
$categoryid | |||
) |
tries to add tickets in a specific category to the corresponding group(s) returns true on success, false if not all tickets could be added in case of error the internal state may be inconsistent, so subsequent calls to this method are not reliable
References tr().
WOSeatPlan::groupById | ( | $abbr | ) |
finds a group by its ID/abbreviation or null if it cannot be found
WOSeatPlan::initGroups | ( | $eventid | ) |
initializes additional properties of groups and aligns with the event
References $db, and WTeventprice\selectFromDB().
WOSeatPlan::lastError | ( | ) |
WOSeatPlan::priceAbbrs | ( | $prc | ) |
References $i.
WOSeatPlan::priceCapacities | ( | $prc | ) |
References priceIDs().
WOSeatPlan::priceIDs | ( | $prc | ) |
References $i.
Referenced by priceCapacities().