|
ILIAS
Release_4_2_x_branch Revision 61807
|
Collaboration diagram for ilPaymentShoppingCart:Public Member Functions | |
| ilPaymentShoppingCart ($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) |
Data Fields | |
| $user_obj = null | |
| $db = null | |
| $coupon_obj = null | |
| $sc_entries = array() | |
| $session_id = null | |
Private Member Functions | |
| __deleteDoubleEntries () | |
| __read () | |
Definition at line 16 of file class.ilPaymentShoppingCart.php.
|
private |
Definition at line 301 of file class.ilPaymentShoppingCart.php.
Referenced by ilPaymentShoppingCart().
Here is the caller graph for this function:
|
private |
Definition at line 329 of file class.ilPaymentShoppingCart.php.
References $pay_method, $res, $row, ilPaymentPrices\_getTotalAmount(), ilPaymentPrices\_priceExists(), getSessionId(), 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:
|
static |
Definition at line 98 of file class.ilPaymentShoppingCart.php.
References $ilDB, and $session_id.
Referenced by ilStartUpGUI\processStartingPage().
Here is the caller graph for this function:
|
static |
Definition at line 558 of file class.ilPaymentShoppingCart.php.
|
static |
Definition at line 571 of file class.ilPaymentShoppingCart.php.
Referenced by ilPaymentObjectGUI\updateDetails().
Here is the caller graph for this function:
|
static |
Definition at line 278 of file class.ilPaymentShoppingCart.php.
References $ilDB, $res, and getSessionId().
Here is the call graph for this function:
|
static |
Definition at line 111 of file class.ilPaymentShoppingCart.php.
References $ilDB.
| ilPaymentShoppingCart::add | ( | ) |
Definition at line 176 of file class.ilPaymentShoppingCart.php.
References __read(), getPobjectId(), getPriceId(), and getSessionId().
Here is the call graph for this function:| ilPaymentShoppingCart::calcDiscountPrices | ( | $coupons | ) |
Definition at line 523 of file class.ilPaymentShoppingCart.php.
| ilPaymentShoppingCart::clearCouponItemsSession | ( | ) |
Definition at line 505 of file class.ilPaymentShoppingCart.php.
References $_SESSION.
| ilPaymentShoppingCart::delete | ( | $a_psc_id | ) |
Definition at line 243 of file class.ilPaymentShoppingCart.php.
References __read().
Here is the call graph for this function:| ilPaymentShoppingCart::emptyShoppingCart | ( | ) |
Definition at line 253 of file class.ilPaymentShoppingCart.php.
References __read(), and getSessionId().
Here is the call graph for this function:| ilPaymentShoppingCart::getEntries | ( | $a_pay_method = 0 | ) |
Definition at line 70 of file class.ilPaymentShoppingCart.php.
Referenced by getShoppingCart().
Here is the caller graph for this function:| ilPaymentShoppingCart::getEntry | ( | $a_pobject_id | ) |
Definition at line 148 of file class.ilPaymentShoppingCart.php.
References $res, and getSessionId().
Here is the call graph for this function:| ilPaymentShoppingCart::getPobjectId | ( | ) |
Definition at line 57 of file class.ilPaymentShoppingCart.php.
Referenced by add(), and update().
Here is the caller graph for this function:| ilPaymentShoppingCart::getPriceId | ( | ) |
Definition at line 65 of file class.ilPaymentShoppingCart.php.
Referenced by add(), and update().
Here is the caller graph for this function:| ilPaymentShoppingCart::getSessionId | ( | ) |
Definition at line 48 of file class.ilPaymentShoppingCart.php.
References $session_id.
Referenced by __read(), _hasEntries(), add(), emptyShoppingCart(), getEntry(), isInShoppingCart(), and update().
Here is the caller graph for this function:| ilPaymentShoppingCart::getShoppingCart | ( | $a_pay_method = 0 | ) |
Definition at line 408 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 caller graph for this function:| ilPaymentShoppingCart::getTotalAmount | ( | ) |
Definition at line 93 of file class.ilPaymentShoppingCart.php.
| ilPaymentShoppingCart::getTotalAmountValue | ( | $a_pay_method = 0 | ) |
Definition at line 465 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 479 of file class.ilPaymentShoppingCart.php.
References $ilDB, $res, and $row.
| ilPaymentShoppingCart::ilPaymentShoppingCart | ( | $user_obj | ) |
Definition at line 30 of file class.ilPaymentShoppingCart.php.
References $ilDB, $user_obj, __deleteDoubleEntries(), and __read().
Here is the call graph for this function:| ilPaymentShoppingCart::isInShoppingCart | ( | $a_pobject_id | ) |
Definition at line 121 of file class.ilPaymentShoppingCart.php.
References $res, $session_id, and getSessionId().
Here is the call graph for this function:| ilPaymentShoppingCart::setPobjectId | ( | $a_pobject_id | ) |
Definition at line 53 of file class.ilPaymentShoppingCart.php.
Referenced by __read().
Here is the caller graph for this function:| ilPaymentShoppingCart::setPriceId | ( | $a_price_id | ) |
Definition at line 61 of file class.ilPaymentShoppingCart.php.
| ilPaymentShoppingCart::setSessionId | ( | $a_session_id | ) |
Definition at line 43 of file class.ilPaymentShoppingCart.php.
| ilPaymentShoppingCart::setTotalAmount | ( | $a_total_amount | ) |
Definition at line 89 of file class.ilPaymentShoppingCart.php.
Referenced by __read().
Here is the caller graph for this function:| ilPaymentShoppingCart::update | ( | $a_psc_id | ) |
Definition at line 217 of file class.ilPaymentShoppingCart.php.
References __read(), getPobjectId(), getPriceId(), and getSessionId().
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::$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::$user_obj = null |
Definition at line 21 of file class.ilPaymentShoppingCart.php.
Referenced by ilPaymentShoppingCart().