Public Member Functions | |
getObjectForeventid () | |
getObjectForpricecategoryid () | |
hasProperty ($p) | |
overridden by woc, returns true if the property exists | |
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 | |
Static Public Member Functions | |
static | getFromDB ($eventid, $pricecategoryid) |
static | newRow (array $data=array()) |
static | selectFromDB ($where="", $orderby="") |
Protected Member Functions | |
__construct (array $data, $isfromdb) |
WTeventprice::__construct | ( | array $ | data, | |
$ | isfromdb | |||
) | [protected] |
static WTeventprice::getFromDB | ( | $ | eventid, | |
$ | pricecategoryid | |||
) | [static] |
References $db.
Referenced by WOWebCart::addTickets(), WOOrder::changeTicketPriceCategory(), and WOCartTicket::fromTablecartticket().
WTeventprice::getObjectForeventid | ( | ) |
References $db, and selectFromDB().
WTeventprice::getObjectForpricecategoryid | ( | ) |
References $db, and selectFromDB().
WTeventprice::hasProperty | ( | $ | c | ) |
overridden by woc, returns true if the property exists
Reimplemented from WobTable.
WTeventprice::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
Reimplemented from WobTable.
static WTeventprice::newRow | ( | array $ | data = array() |
) | [static] |
References WobTable::$data.
Referenced by WOEvent::syncPricesToDB().
static WTeventprice::selectFromDB | ( | $ | where = "" , |
|
$ | orderby = "" | |||
) | [static] |
References $db.
Referenced by WOEventAbstract::fromTableevent(), getObjectForeventid(), getObjectForpricecategoryid(), and WOEvent::syncPricesToDB().