|
MagicSmoke
$VERSION$
|
Public Member Functions | |
| getObjectForeventid () | |
| getObjectFororderid () | |
| getObjectForpricecategoryid () | |
| hasProperty ($p) | |
| isAuditable () | |
| newKey () | |
Public Member Functions inherited from WobTable | |
| __get ($name) | |
| returns the property/column More... | |
| __isset ($name) | |
| checks whether a column exists More... | |
| __set ($name, $value) | |
| set properties More... | |
| __unset ($name) | |
| unsets column-properties to NULL More... | |
| deleteFromDb () | |
| deletes this instance from the database; returns true if it actually executed More... | |
| hasColumn ($c) | |
| returns whether the table contains a specific column More... | |
| hasProperty ($c) | |
| overridden by woc, returns true if the property exists More... | |
| insert () | |
| insert the object under a new primary key value into the DB (implicitly calls newKey); returns true on success More... | |
| insertOrUpdate () | |
| updates existing object in the database or inserts it if it does not exist in the DB yet More... | |
| isAuditable () | |
| returns whether this is an auditable table More... | |
| isChanged () | |
| returns whether any property has changed since the last DB sync More... | |
| isColumnChanged ($c) | |
| returns whether a specific column has changed since the last DB sync More... | |
| newKey () | |
| generate a new primary key value for insert and marks the object as not yet in the DB; the default sets the primary key to NULL if it is a sequence; call the original first if you overwrite it More... | |
| revert ($name) | |
| reverts changes to the property More... | |
| revertAll () | |
| reverts all changes to properties More... | |
| setFromArray (array $data) | |
| set multiple properties More... | |
| tableName () | |
| returns the name of the table More... | |
| update () | |
| updates the object in the database; returns true on success; fails if it did not come from the DB - use insertOrUpdate in this case; succeeds without asking the database if nothing has changed More... | |
| where () | |
| returns the where clause to find this instance (via primary key columns) More... | |
Static Public Member Functions | |
| static | getFromDB ($ticketid) |
| static | newRow (array $data=array()) |
| static | selectFromDB ($where="", $orderby="") |
Static Public Member Functions inherited from BarcodeTable | |
| static | checkCouponIdExists ($couponid) |
| checks whether a coupon ID exists More... | |
| static | checkCouponIdValid ($couponid) |
| checks that the ID is valid as a coupon and could not interfere with tickets or vouchers More... | |
| static | getNewCouponId () |
| static | getNewTicketId () |
| static | getNewVoucherId () |
Public Attributes | |
| const | Cancelled =4 |
| const | MaskBlock =256 |
| const | MaskChangeable =16 |
| const | MaskPay =512 |
| const | MaskReturnable =16 |
| const | MaskUsable =768 |
| const | Ordered =786 |
| const | Refund =4 |
| const | Reserved =785 |
| const | Used =771 |
Protected Member Functions | |
| __construct (array $data, $isfromdb) | |
| createAudit () | |
| resetAudit () | |
| verifyValuestatus ($v) | |
Protected Member Functions inherited from WobTable | |
| __construct (array $data, $isfromdb, $table) | |
| constructs a basic table More... | |
| createAudit () | |
| overridden by woc, if this an auditable table; used in insert and update More... | |
| resetAudit () | |
| overridden in auditable implementations: resets the audit state More... | |
Additional Inherited Members | |
Protected Attributes inherited from WobTable | |
| $cdata | |
| $data | |
|
protected |
|
protected |
References WTticket_audit\newRow().
|
static |
References $db.
Referenced by WOOrder\changeTicketPrice(), WOOrder\changeTicketPriceCategory(), WTrGetTicket\handleRequest(), WOOrder\returnTicketVoucher(), and WOTicket\useTicket().
| WTticket::getObjectForeventid | ( | ) |
References $db, and WTevent\selectFromDB().
| WTticket::getObjectFororderid | ( | ) |
References $db, and WTorder\selectFromDB().
| WTticket::getObjectForpricecategoryid | ( | ) |
References $db, and WTpricecategory\selectFromDB().
| WTticket::hasProperty | ( | $p | ) |
| WTticket::isAuditable | ( | ) |
| WTticket::newKey | ( | ) |
References BarcodeTable\getNewTicketId().
|
static |
References WobTable\$data.
|
protected |
|
static |
References $db.
Referenced by EventPlan\__construct(), WOEvent\cancelAllTickets(), WOOrder\cancelOrder(), WOOrder\changeTicketPriceCategory(), WOEventSaleInfo\fromTableevent(), WOOrderAbstract\fromTableorder(), WTorder_audit\getTickets(), WTorder\getTickets(), WOOrderInfo\getTotalPriceFromDB(), WOOrder\reservation2Order(), and WOTicket\useTicket().
|
protected |
| const WTticket::Cancelled =4 |
Referenced by WOOrder\cancelOrder(), and WOOrder\returnTicketVoucher().
| const WTticket::MaskBlock =256 |
Referenced by WOOrder\changeTicketPriceCategory(), and WOEventPrice\getAmountTicketsBlockFromDB().
| const WTticket::MaskChangeable =16 |
Referenced by WOOrder\changeTicketPriceCheckTicket().
| const WTticket::MaskPay =512 |
| const WTticket::MaskReturnable =16 |
Referenced by WOEvent\cancelAllTickets(), WOOrder\cancelOrder(), and WOOrder\returnTicketVoucher().
| const WTticket::MaskUsable =768 |
Referenced by WOTicket\useTicket().
| const WTticket::Ordered =786 |
Referenced by WOEvent\getAmountSoldFromDB(), WOOrder\reservation2Order(), and WOTicket\useTicket().
| const WTticket::Refund =4 |
Referenced by WOEvent\cancelAllTickets().
| const WTticket::Reserved =785 |
Referenced by WOEvent\getAmountReservedFromDB(), WOOrder\reservation2Order(), and WOTicket\useTicket().
| const WTticket::Used =771 |
Referenced by WOOrder\changeTicketPriceCheckTicket(), WOEvent\getAmountSoldFromDB(), and WOTicket\useTicket().