ILIAS
Release_3_10_x_branch Revision 61812
|
Public Member Functions | |
ilPaymentShoppingCart (&$user_obj) | |
setPobjectId ($a_pobject_id) | |
getPobjectId () | |
setPriceId ($a_price_id) | |
getPriceId () | |
getEntries ($a_pay_method=0) | |
setTotalAmount ($a_total_amount) | |
getTotalAmount () | |
isInShoppingCart ($a_pobject_id) | |
getEntry ($a_pobject_id) | |
add () | |
update ($a_psc_id) | |
delete ($a_psc_id) | |
emptyShoppingCart () | |
_hasEntries ($a_user_id) | |
__read () | |
getShoppingCart ($a_pay_method=0) | |
getTotalAmountValue ($a_pay_method=0) | |
getVat ($a_amount=0) | |
clearCouponItemsSession () | |
calcDiscountPrices ($coupons) |
Data Fields | |
$user_obj = null | |
$db = null | |
$coupon_obj = null | |
$sc_entries = array() |
Definition at line 35 of file class.ilPaymentShoppingCart.php.
ilPaymentShoppingCart::__read | ( | ) |
Definition at line 202 of file class.ilPaymentShoppingCart.php.
References $res, ilPaymentPrices\_getTotalAmount(), ilPaymentPrices\_priceExists(), DB_FETCHMODE_OBJECT, and setTotalAmount().
Referenced by add(), delete(), emptyShoppingCart(), ilPaymentShoppingCart(), and update().
ilPaymentShoppingCart::_hasEntries | ( | $a_user_id | ) |
Definition at line 188 of file class.ilPaymentShoppingCart.php.
References $res.
ilPaymentShoppingCart::add | ( | ) |
Definition at line 129 of file class.ilPaymentShoppingCart.php.
References __read().
ilPaymentShoppingCart::calcDiscountPrices | ( | $coupons | ) |
Definition at line 343 of file class.ilPaymentShoppingCart.php.
ilPaymentShoppingCart::clearCouponItemsSession | ( | ) |
Definition at line 325 of file class.ilPaymentShoppingCart.php.
References $_SESSION.
ilPaymentShoppingCart::delete | ( | $a_psc_id | ) |
Definition at line 165 of file class.ilPaymentShoppingCart.php.
References __read().
ilPaymentShoppingCart::emptyShoppingCart | ( | ) |
Definition at line 175 of file class.ilPaymentShoppingCart.php.
References __read().
ilPaymentShoppingCart::getEntries | ( | $a_pay_method = 0 | ) |
Definition at line 76 of file class.ilPaymentShoppingCart.php.
Referenced by getShoppingCart().
ilPaymentShoppingCart::getEntry | ( | $a_pobject_id | ) |
Definition at line 115 of file class.ilPaymentShoppingCart.php.
References DB_FETCHMODE_ASSOC.
ilPaymentShoppingCart::getPobjectId | ( | ) |
Definition at line 63 of file class.ilPaymentShoppingCart.php.
ilPaymentShoppingCart::getPriceId | ( | ) |
Definition at line 71 of file class.ilPaymentShoppingCart.php.
ilPaymentShoppingCart::getShoppingCart | ( | $a_pay_method = 0 | ) |
Definition at line 263 of file class.ilPaymentShoppingCart.php.
References ilPaymentPrices\_getPrice(), ilPaymentPrices\_getPriceString(), getEntries(), and ilObjectFactory\getInstanceByRefId().
Referenced by getTotalAmountValue().
ilPaymentShoppingCart::getTotalAmount | ( | ) |
Definition at line 99 of file class.ilPaymentShoppingCart.php.
ilPaymentShoppingCart::getTotalAmountValue | ( | $a_pay_method = 0 | ) |
Definition at line 301 of file class.ilPaymentShoppingCart.php.
References $result, and getShoppingCart().
ilPaymentShoppingCart::getVat | ( | $a_amount = 0 | ) |
Definition at line 316 of file class.ilPaymentShoppingCart.php.
ilPaymentShoppingCart::ilPaymentShoppingCart | ( | & | $user_obj | ) |
Definition at line 47 of file class.ilPaymentShoppingCart.php.
References $user_obj, and __read().
ilPaymentShoppingCart::isInShoppingCart | ( | $a_pobject_id | ) |
Definition at line 104 of file class.ilPaymentShoppingCart.php.
References $res.
ilPaymentShoppingCart::setPobjectId | ( | $a_pobject_id | ) |
Definition at line 59 of file class.ilPaymentShoppingCart.php.
ilPaymentShoppingCart::setPriceId | ( | $a_price_id | ) |
Definition at line 67 of file class.ilPaymentShoppingCart.php.
ilPaymentShoppingCart::setTotalAmount | ( | $a_total_amount | ) |
Definition at line 95 of file class.ilPaymentShoppingCart.php.
Referenced by __read().
ilPaymentShoppingCart::update | ( | $a_psc_id | ) |
Definition at line 150 of file class.ilPaymentShoppingCart.php.
References __read().
ilPaymentShoppingCart::$coupon_obj = null |
Definition at line 43 of file class.ilPaymentShoppingCart.php.
ilPaymentShoppingCart::$db = null |
Definition at line 41 of file class.ilPaymentShoppingCart.php.
ilPaymentShoppingCart::$sc_entries = array() |
Definition at line 45 of file class.ilPaymentShoppingCart.php.
ilPaymentShoppingCart::$user_obj = null |
Definition at line 40 of file class.ilPaymentShoppingCart.php.
Referenced by ilPaymentShoppingCart().