ILIAS
eassessment Revision 61809
|
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 () |
Data Fields | |
$user_obj = null | |
$db = null | |
$coupon_obj = null | |
$sc_entries = array() | |
$session_id = null |
Private Member Functions | |
__read () |
Definition at line 16 of file class.ilPaymentShoppingCart.php.
|
private |
Definition at line 301 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().
|
static |
Definition at line 98 of file class.ilPaymentShoppingCart.php.
References $ilDB, and $session_id.
Referenced by ilStartUpGUI\processStartingPage().
|
static |
Definition at line 527 of file class.ilPaymentShoppingCart.php.
|
static |
Definition at line 278 of file class.ilPaymentShoppingCart.php.
References $ilDB, $res, and getSessionId().
|
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().
ilPaymentShoppingCart::calcDiscountPrices | ( | $coupons | ) |
Definition at line 492 of file class.ilPaymentShoppingCart.php.
ilPaymentShoppingCart::clearCouponItemsSession | ( | ) |
Definition at line 474 of file class.ilPaymentShoppingCart.php.
References $_SESSION.
ilPaymentShoppingCart::delete | ( | $a_psc_id | ) |
Definition at line 243 of file class.ilPaymentShoppingCart.php.
References __read().
ilPaymentShoppingCart::emptyShoppingCart | ( | ) |
Definition at line 253 of file class.ilPaymentShoppingCart.php.
References __read(), and getSessionId().
ilPaymentShoppingCart::getEntries | ( | $a_pay_method = 0 | ) |
Definition at line 69 of file class.ilPaymentShoppingCart.php.
Referenced by getShoppingCart().
ilPaymentShoppingCart::getEntry | ( | $a_pobject_id | ) |
Definition at line 148 of file class.ilPaymentShoppingCart.php.
References $res, and getSessionId().
ilPaymentShoppingCart::getPobjectId | ( | ) |
Definition at line 56 of file class.ilPaymentShoppingCart.php.
Referenced by add(), and update().
ilPaymentShoppingCart::getPriceId | ( | ) |
Definition at line 64 of file class.ilPaymentShoppingCart.php.
Referenced by add(), and update().
ilPaymentShoppingCart::getSessionId | ( | ) |
Definition at line 47 of file class.ilPaymentShoppingCart.php.
References $session_id.
Referenced by __read(), _hasEntries(), add(), emptyShoppingCart(), getEntry(), isInShoppingCart(), and update().
ilPaymentShoppingCart::getShoppingCart | ( | $a_pay_method = 0 | ) |
Definition at line 380 of file class.ilPaymentShoppingCart.php.
References ilPaymentPrices\_getPrice(), ilPaymentPrices\_getPriceString(), getEntries(), ilObjectFactory\getInstanceByRefId(), and ilShopVats\getRate().
Referenced by getTotalAmountValue().
ilPaymentShoppingCart::getTotalAmount | ( | ) |
Definition at line 93 of file class.ilPaymentShoppingCart.php.
ilPaymentShoppingCart::getTotalAmountValue | ( | $a_pay_method = 0 | ) |
Definition at line 434 of file class.ilPaymentShoppingCart.php.
References getShoppingCart().
ilPaymentShoppingCart::getVat | ( | $a_amount = 0 , |
|
$a_pobject_id = 0 |
|||
) |
Definition at line 448 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, and __read().
ilPaymentShoppingCart::isInShoppingCart | ( | $a_pobject_id | ) |
Definition at line 121 of file class.ilPaymentShoppingCart.php.
References $res, $session_id, and getSessionId().
ilPaymentShoppingCart::setPobjectId | ( | $a_pobject_id | ) |
Definition at line 52 of file class.ilPaymentShoppingCart.php.
Referenced by __read().
ilPaymentShoppingCart::setPriceId | ( | $a_price_id | ) |
Definition at line 60 of file class.ilPaymentShoppingCart.php.
ilPaymentShoppingCart::setSessionId | ( | $a_session_id | ) |
Definition at line 42 of file class.ilPaymentShoppingCart.php.
ilPaymentShoppingCart::setTotalAmount | ( | $a_total_amount | ) |
Definition at line 89 of file class.ilPaymentShoppingCart.php.
Referenced by __read().
ilPaymentShoppingCart::update | ( | $a_psc_id | ) |
Definition at line 217 of file class.ilPaymentShoppingCart.php.
References __read(), getPobjectId(), getPriceId(), and getSessionId().
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().