this is the class wrapping the cart tables, the business logic class is WebCart in rendering/cart_listing.php More...
Public Member Functions | |
| getIsempty () | |
| returns is empty attribute for twig | |
| getTotalsum () | |
| returns the overall sum for twig | |
Static Public Member Functions | |
| static | addTickets ($trans) |
| transaction to add tickets to cart | |
| static | addVoucher ($trans) |
| transaction to add vouchers | |
| static | removeTickets ($trans) |
| transaction to remove tickets from cart | |
| static | removeVoucher ($trans) |
| transaction to remove vouchers | |
this is the class wrapping the cart tables, the business logic class is WebCart in rendering/cart_listing.php
| static WOWebCart::addTickets | ( | $ | trans | ) | [static] |
transaction to add tickets to cart
References WOWebCartAbstract::fromTablecart(), WOEventPriceAbstract::fromTableeventprice(), WTcartticket::getFromDB(), WTeventprice::getFromDB(), WTevent::getFromDB(), WTcart::getFromDB(), and WTcartticket::newRow().
Referenced by WTrWebCartAddTicket::handleRequest().
| static WOWebCart::addVoucher | ( | $ | trans | ) | [static] |
transaction to add vouchers
References WOWebCartAbstract::fromTablecart(), WTcart::getFromDB(), WTcartvoucher::newRow(), and WOVoucher::validVoucherPrices().
Referenced by WTrWebCartAddVoucher::handleRequest().
| WOWebCart::getIsempty | ( | ) |
returns is empty attribute for twig
| WOWebCart::getTotalsum | ( | ) |
returns the overall sum for twig
References WOWebCartAbstract::getshipping(), WOWebCartAbstract::gettickets(), and WOWebCartAbstract::getvouchers().
| static WOWebCart::removeTickets | ( | $ | trans | ) | [static] |
transaction to remove tickets from cart
References WOWebCartAbstract::fromTablecart(), WTcartticket::getFromDB(), and WTcart::getFromDB().
Referenced by WTrWebCartRemoveTicket::handleRequest().
| static WOWebCart::removeVoucher | ( | $ | trans | ) | [static] |
transaction to remove vouchers
References WOWebCartAbstract::fromTablecart(), WTcartvoucher::getFromDB(), and WTcart::getFromDB().
Referenced by WTrWebCartRemoveVoucher::handleRequest().
1.7.1