|
ILIAS
Release_3_10_x_branch Revision 61812
|
Collaboration diagram for ilPaymentShoppingCart: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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:| 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().
Here is the call graph for this function:| ilPaymentShoppingCart::emptyShoppingCart | ( | ) |
Definition at line 175 of file class.ilPaymentShoppingCart.php.
References __read().
Here is the call graph for this function:| ilPaymentShoppingCart::getEntries | ( | $a_pay_method = 0 | ) |
Definition at line 76 of file class.ilPaymentShoppingCart.php.
Referenced by getShoppingCart().
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:| 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().
Here is the call graph for this function:| 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().
Here is the caller graph for this function:| ilPaymentShoppingCart::update | ( | $a_psc_id | ) |
Definition at line 150 of file class.ilPaymentShoppingCart.php.
References __read().
Here is the call graph for this function:| 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().