Public Member Functions | Static Public Member Functions

WOWebCart Class Reference

this is the class wrapping the cart tables, the business logic class is WebCart in rendering/cart_listing.php More...

Inheritance diagram for WOWebCart:
WOWebCartAbstract WObject

List of all members.

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

Detailed Description

this is the class wrapping the cart tables, the business logic class is WebCart in rendering/cart_listing.php


Member Function Documentation

static WOWebCart::addVoucher ( trans  )  [static]
WOWebCart::getIsempty (  ) 

returns is empty attribute for twig

WOWebCart::getTotalsum (  ) 
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]

The documentation for this class was generated from the following file: