Public Member Functions | |
getObjectForcustomerid () | |
getObjectFordeliveryaddress () | |
getObjectForinvoiceaddress () | |
getObjectForshippingtype () | |
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 ($cartid) |
static | newRow (array $data=array()) |
static | selectFromDB ($where="", $orderby="") |
Protected Member Functions | |
__construct (array $data, $isfromdb) |
WTcart::__construct | ( | array $ | data, | |
$ | isfromdb | |||
) | [protected] |
static WTcart::getFromDB | ( | $ | cartid | ) | [static] |
References $db.
Referenced by WOWebCart::addTickets(), WOWebCart::addVoucher(), WebCart::changeAddressPage(), WOCustomer::checkLogin(), WebCart::checkout(), WebCart::createCartOverview(), WebCart::findCart(), WebCart::getCart(), WebCart::getNewCartId(), WOCustomer::loginPage(), WebCart::placeOrder(), WOCustomer::registerCustomer(), WOWebCart::removeTickets(), and WOWebCart::removeVoucher().
WTcart::getObjectForcustomerid | ( | ) |
References $db, and selectFromDB().
WTcart::getObjectFordeliveryaddress | ( | ) |
References $db, and selectFromDB().
WTcart::getObjectForinvoiceaddress | ( | ) |
References $db, and selectFromDB().
WTcart::getObjectForshippingtype | ( | ) |
References $db, and selectFromDB().
WTcart::hasProperty | ( | $ | c | ) |
overridden by woc, returns true if the property exists
Reimplemented from WobTable.
WTcart::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.
References WebCart::getNewCartId().
static WTcart::newRow | ( | array $ | data = array() |
) | [static] |
References WobTable::$data.
Referenced by WebCart::getOrCreateCart().
static WTcart::selectFromDB | ( | $ | where = "" , |
|
$ | orderby = "" | |||
) | [static] |
References $db.
Referenced by getObjectForcustomerid(), getObjectFordeliveryaddress(), getObjectForinvoiceaddress(), and getObjectForshippingtype().