| ILIAS
    Release_4_3_x_branch Revision 61807
    | 
 Collaboration diagram for ilPaymentShoppingCart:
 Collaboration diagram for ilPaymentShoppingCart:| Public Member Functions | |
| __construct ($user_obj) | |
| setSessionId ($a_session_id) | |
| getSessionId () | |
| 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 () | |
| getShoppingCart ($a_pay_method=0) | |
| getTotalAmountValue ($a_pay_method=0) | |
| getVat ($a_amount=0, $a_pobject_id=0) | |
| clearCouponItemsSession () | |
| calcDiscountPrices ($coupons) | |
| Static Public Member Functions | |
| static | _assignObjectsToUserId ($a_user_id) | 
| static | _migrateShoppingcart ($a_old_sessid, $a_new_sessid) | 
| static | _hasEntries ($a_user_id) | 
| static | _deleteExpiredSessionsPSC () | 
| static | _deleteShoppingCartEntries ($a_pobject_id) | 
| static | getShoppingcartEntries ($a_paymethod=null) | 
| Data Fields | |
| $user_obj = null | |
| $db = null | |
| $coupon_obj = null | |
| $sc_entries = array() | |
| $session_id = null | |
| $pobject_id = null | |
| $price_id = null | |
| $total_amount = null | |
| $vat_id = null | |
| $vat_rate = 0 | |
| Private Member Functions | |
| __deleteDoubleEntries () | |
| __read () | |
Definition at line 16 of file class.ilPaymentShoppingCart.php.
| ilPaymentShoppingCart::__construct | ( | $user_obj | ) | 
Definition at line 37 of file class.ilPaymentShoppingCart.php.
References $user_obj, __deleteDoubleEntries(), and __read().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Definition at line 310 of file class.ilPaymentShoppingCart.php.
References $ilUser, $res, and $row.
Referenced by __construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 338 of file class.ilPaymentShoppingCart.php.
References $ilUser, $pay_method, $res, $row, ilPaymentPrices\_getTotalAmount(), ilPaymentPrices\_priceExists(), getSessionId(), setPobjectId(), and setTotalAmount().
Referenced by __construct(), add(), delete(), emptyShoppingCart(), and update().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 105 of file class.ilPaymentShoppingCart.php.
References $session_id.
Referenced by ilStartUpGUI\processStartingPage().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 572 of file class.ilPaymentShoppingCart.php.
References $query.
| 
 | static | 
Definition at line 585 of file class.ilPaymentShoppingCart.php.
Referenced by ilPaymentObjectGUI\updateDetails().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 286 of file class.ilPaymentShoppingCart.php.
| 
 | static | 
Definition at line 118 of file class.ilPaymentShoppingCart.php.
| ilPaymentShoppingCart::add | ( | ) | 
Definition at line 184 of file class.ilPaymentShoppingCart.php.
References $ilUser, __read(), getPobjectId(), getPriceId(), and getSessionId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPaymentShoppingCart::calcDiscountPrices | ( | $coupons | ) | 
Definition at line 537 of file class.ilPaymentShoppingCart.php.
| ilPaymentShoppingCart::clearCouponItemsSession | ( | ) | 
Definition at line 519 of file class.ilPaymentShoppingCart.php.
References $_SESSION.
| ilPaymentShoppingCart::delete | ( | $a_psc_id | ) | 
Definition at line 251 of file class.ilPaymentShoppingCart.php.
References __read().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPaymentShoppingCart::emptyShoppingCart | ( | ) | 
Definition at line 261 of file class.ilPaymentShoppingCart.php.
References $ilUser, __read(), and getSessionId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPaymentShoppingCart::getEntries | ( | $a_pay_method = 0 | ) | 
Definition at line 77 of file class.ilPaymentShoppingCart.php.
Referenced by getShoppingCart().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPaymentShoppingCart::getEntry | ( | $a_pobject_id | ) | 
Definition at line 155 of file class.ilPaymentShoppingCart.php.
References $ilUser, $res, and getSessionId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPaymentShoppingCart::getPobjectId | ( | ) | 
Definition at line 64 of file class.ilPaymentShoppingCart.php.
References $pobject_id.
Referenced by add(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPaymentShoppingCart::getPriceId | ( | ) | 
Definition at line 72 of file class.ilPaymentShoppingCart.php.
References $price_id.
Referenced by add(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPaymentShoppingCart::getSessionId | ( | ) | 
Definition at line 55 of file class.ilPaymentShoppingCart.php.
References $session_id.
Referenced by __read(), add(), emptyShoppingCart(), getEntry(), isInShoppingCart(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPaymentShoppingCart::getShoppingCart | ( | $a_pay_method = 0 | ) | 
Definition at line 418 of file class.ilPaymentShoppingCart.php.
References $lng, ilPaymentPrices\_getPrice(), ilPaymentPrices\_getPriceString(), getEntries(), ilObjectFactory\getInstanceByRefId(), and ilShopVats\getRate().
Referenced by getTotalAmountValue().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
| integer | null | $a_paymethod | 
Definition at line 600 of file class.ilPaymentShoppingCart.php.
References $ilUser, $res, and $row.
| ilPaymentShoppingCart::getTotalAmount | ( | ) | 
Definition at line 100 of file class.ilPaymentShoppingCart.php.
References $total_amount.
| ilPaymentShoppingCart::getTotalAmountValue | ( | $a_pay_method = 0 | ) | 
Definition at line 479 of file class.ilPaymentShoppingCart.php.
References $result, and getShoppingCart().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPaymentShoppingCart::getVat | ( | $a_amount = 0, | |
| $a_pobject_id = 0 | |||
| ) | 
Definition at line 493 of file class.ilPaymentShoppingCart.php.
| ilPaymentShoppingCart::isInShoppingCart | ( | $a_pobject_id | ) | 
Definition at line 128 of file class.ilPaymentShoppingCart.php.
References $ilUser, $res, $session_id, and getSessionId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPaymentShoppingCart::setPobjectId | ( | $a_pobject_id | ) | 
Definition at line 60 of file class.ilPaymentShoppingCart.php.
Referenced by __read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPaymentShoppingCart::setPriceId | ( | $a_price_id | ) | 
Definition at line 68 of file class.ilPaymentShoppingCart.php.
| ilPaymentShoppingCart::setSessionId | ( | $a_session_id | ) | 
Definition at line 50 of file class.ilPaymentShoppingCart.php.
| ilPaymentShoppingCart::setTotalAmount | ( | $a_total_amount | ) | 
Definition at line 96 of file class.ilPaymentShoppingCart.php.
Referenced by __read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPaymentShoppingCart::update | ( | $a_psc_id | ) | 
Definition at line 225 of file class.ilPaymentShoppingCart.php.
References $ilUser, __read(), getPobjectId(), getPriceId(), and getSessionId().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPaymentShoppingCart::$coupon_obj = null | 
Definition at line 24 of file class.ilPaymentShoppingCart.php.
| ilPaymentShoppingCart::$db = null | 
Definition at line 22 of file class.ilPaymentShoppingCart.php.
| ilPaymentShoppingCart::$pobject_id = null | 
Definition at line 29 of file class.ilPaymentShoppingCart.php.
Referenced by getPobjectId().
| ilPaymentShoppingCart::$price_id = null | 
Definition at line 30 of file class.ilPaymentShoppingCart.php.
Referenced by getPriceId().
| ilPaymentShoppingCart::$sc_entries = array() | 
Definition at line 26 of file class.ilPaymentShoppingCart.php.
| ilPaymentShoppingCart::$session_id = null | 
Definition at line 27 of file class.ilPaymentShoppingCart.php.
Referenced by _assignObjectsToUserId(), getSessionId(), and isInShoppingCart().
| ilPaymentShoppingCart::$total_amount = null | 
Definition at line 31 of file class.ilPaymentShoppingCart.php.
Referenced by getTotalAmount().
| ilPaymentShoppingCart::$user_obj = null | 
Definition at line 21 of file class.ilPaymentShoppingCart.php.
Referenced by __construct().
| ilPaymentShoppingCart::$vat_id = null | 
Definition at line 32 of file class.ilPaymentShoppingCart.php.
| ilPaymentShoppingCart::$vat_rate = 0 | 
Definition at line 33 of file class.ilPaymentShoppingCart.php.