|
ILIAS
Release_4_0_x_branch Revision 61816
|
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, $a_pobject_id=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 217 of file class.ilPaymentShoppingCart.php.
References $pay_method, $res, $row, ilPaymentPrices\_getTotalAmount(), ilPaymentPrices\_priceExists(), setPobjectId(), 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 | ) |
| ilPaymentShoppingCart::add | ( | ) |
Definition at line 134 of file class.ilPaymentShoppingCart.php.
References __read(), getPobjectId(), and getPriceId().
Here is the call graph for this function:| ilPaymentShoppingCart::calcDiscountPrices | ( | $coupons | ) |
Definition at line 401 of file class.ilPaymentShoppingCart.php.
| ilPaymentShoppingCart::clearCouponItemsSession | ( | ) |
Definition at line 383 of file class.ilPaymentShoppingCart.php.
References $_SESSION.
| ilPaymentShoppingCart::delete | ( | $a_psc_id | ) |
Definition at line 180 of file class.ilPaymentShoppingCart.php.
References __read().
Here is the call graph for this function:| ilPaymentShoppingCart::emptyShoppingCart | ( | ) |
Definition at line 190 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 119 of file class.ilPaymentShoppingCart.php.
References $res.
| ilPaymentShoppingCart::getPobjectId | ( | ) |
Definition at line 63 of file class.ilPaymentShoppingCart.php.
Referenced by add(), and update().
Here is the caller graph for this function:| ilPaymentShoppingCart::getPriceId | ( | ) |
Definition at line 71 of file class.ilPaymentShoppingCart.php.
Referenced by add(), and update().
Here is the caller graph for this function:| ilPaymentShoppingCart::getShoppingCart | ( | $a_pay_method = 0 | ) |
Definition at line 283 of file class.ilPaymentShoppingCart.php.
References ilPaymentPrices\_getPrice(), ilPaymentPrices\_getPriceString(), getEntries(), ilObjectFactory\getInstanceByRefId(), and ilShopVats\getRate().
Referenced by getTotalAmountValue().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPaymentShoppingCart::getTotalAmount | ( | ) |
Definition at line 102 of file class.ilPaymentShoppingCart.php.
| ilPaymentShoppingCart::getTotalAmountValue | ( | $a_pay_method = 0 | ) |
Definition at line 338 of file class.ilPaymentShoppingCart.php.
References $result, and getShoppingCart().
Here is the call graph for this function:| ilPaymentShoppingCart::getVat | ( | $a_amount = 0, |
|
$a_pobject_id = 0 |
|||
| ) |
Definition at line 353 of file class.ilPaymentShoppingCart.php.
References $ilDB, $res, and $row.
| ilPaymentShoppingCart::ilPaymentShoppingCart | ( | & | $user_obj | ) |
Definition at line 47 of file class.ilPaymentShoppingCart.php.
References $ilDB, $user_obj, and __read().
Here is the call graph for this function:| ilPaymentShoppingCart::isInShoppingCart | ( | $a_pobject_id | ) |
Definition at line 107 of file class.ilPaymentShoppingCart.php.
References $res.
| ilPaymentShoppingCart::setPobjectId | ( | $a_pobject_id | ) |
Definition at line 59 of file class.ilPaymentShoppingCart.php.
Referenced by __read().
Here is the caller graph for this function:| ilPaymentShoppingCart::setPriceId | ( | $a_price_id | ) |
Definition at line 67 of file class.ilPaymentShoppingCart.php.
| ilPaymentShoppingCart::setTotalAmount | ( | $a_total_amount | ) |
Definition at line 98 of file class.ilPaymentShoppingCart.php.
Referenced by __read().
Here is the caller graph for this function:| ilPaymentShoppingCart::update | ( | $a_psc_id | ) |
Definition at line 160 of file class.ilPaymentShoppingCart.php.
References __read(), getPobjectId(), and getPriceId().
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().