ILIAS
Release_3_10_x_branch Revision 61812
|
Class ilShopShoppingCartGUI. More...
Public Member Functions | |
__construct ($user_obj) | |
executeCommand () | |
execute command | |
unlockBMFObjectsInShoppingCart () | |
unlockPAYPALObjectsInShoppingCart () | |
checkCouponsOfShoppingCart () | |
finishPaypal () | |
cancelPaypal () | |
showItems () | |
setCoupon () | |
removeCoupon () | |
deleteItem () | |
Public Member Functions inherited from ilShopBaseGUI | |
__construct () |
Protected Member Functions | |
prepareOutput () | |
Protected Member Functions inherited from ilShopBaseGUI | |
addPager ($result, $a_session_key) | |
buildSubTabs () | |
setSection ($a_section) | |
getSection () | |
setSubSection ($a_sub_section) | |
getSubSection () | |
showButton ($a_cmd, $a_text, $a_target= '') | |
initTableGUI () | |
setTableGUIBasicData ($tbl, $result_set, $a_default_order_column= '') |
Private Member Functions | |
addBookings ($pay_method, $coupon_session) | |
showCouponInput ($payment_type="") | |
showItemsTable (&$a_tpl, $a_result_set, $a_pay_method=0) | |
initShoppingCartObject () | |
initPaypalObject () | |
encryptButton ($buttonParams) | |
Creates a new encrypted button HTML block. |
Private Attributes | |
$user_obj | |
$psc_obj = null | |
$paypal_obj = null | |
$totalAmount = array() |
Additional Inherited Members | |
Protected Attributes inherited from ilShopBaseGUI | |
$ctrl = null | |
$ilias = null | |
$lng = null | |
$tpl = null | |
$oGeneralSettings = null | |
$section = 0 | |
$sub_section = 0 |
Class ilShopShoppingCartGUI.
Definition at line 38 of file class.ilShopShoppingCartGUI.php.
ilShopShoppingCartGUI::__construct | ( | $user_obj | ) |
Definition at line 48 of file class.ilShopShoppingCartGUI.php.
References $user_obj, ilShopBaseGUI\__construct(), checkCouponsOfShoppingCart(), and ilPaypalSettings\getInstance().
|
private |
Definition at line 128 of file class.ilShopShoppingCartGUI.php.
References $_SESSION, ilPaymentPrices\_getPrice(), ilPaymentPrices\_getPriceFromArray(), ilPaymentPrices\_getPriceString(), and ilPaymentPrices\_getPriceStringFromAmount().
Referenced by unlockBMFObjectsInShoppingCart(), and unlockPAYPALObjectsInShoppingCart().
ilShopShoppingCartGUI::cancelPaypal | ( | ) |
Definition at line 326 of file class.ilShopShoppingCartGUI.php.
References ilUtil\sendInfo(), and showItems().
ilShopShoppingCartGUI::checkCouponsOfShoppingCart | ( | ) |
Definition at line 224 of file class.ilShopShoppingCartGUI.php.
References $_SESSION, ilPayMethods\_enabled(), PAY_METHOD_BMF, and PAY_METHOD_PAYPAL.
Referenced by __construct(), and deleteItem().
ilShopShoppingCartGUI::deleteItem | ( | ) |
Definition at line 881 of file class.ilShopShoppingCartGUI.php.
References checkCouponsOfShoppingCart(), initShoppingCartObject(), ilUtil\sendInfo(), and showItems().
|
private |
Creates a new encrypted button HTML block.
array | The button parameters as key/value pairs |
Definition at line 921 of file class.ilShopShoppingCartGUI.php.
References $data.
ilShopShoppingCartGUI::executeCommand | ( | ) |
execute command
Definition at line 65 of file class.ilShopShoppingCartGUI.php.
References $cmd, and prepareOutput().
ilShopShoppingCartGUI::finishPaypal | ( | ) |
Definition at line 286 of file class.ilShopShoppingCartGUI.php.
References $res, ERROR_FAIL, ERROR_NOT_COMPLETED, ERROR_PREV_TRANS_ID, ERROR_WRONG_CUSTOMER, ERROR_WRONG_ITEMS, ERROR_WRONG_VENDOR, initPaypalObject(), ilUtil\sendInfo(), showItems(), and SUCCESS.
|
private |
Definition at line 910 of file class.ilShopShoppingCartGUI.php.
Referenced by finishPaypal().
|
private |
Definition at line 904 of file class.ilShopShoppingCartGUI.php.
Referenced by deleteItem(), and showItems().
|
protected |
Reimplemented from ilShopBaseGUI.
Definition at line 90 of file class.ilShopShoppingCartGUI.php.
Referenced by executeCommand().
ilShopShoppingCartGUI::removeCoupon | ( | ) |
Definition at line 633 of file class.ilShopShoppingCartGUI.php.
References $_GET, $_SESSION, and showItems().
ilShopShoppingCartGUI::setCoupon | ( | ) |
Definition at line 551 of file class.ilShopShoppingCartGUI.php.
References $_SESSION, PAY_METHOD_BMF, PAY_METHOD_PAYPAL, ilUtil\sendInfo(), and showItems().
|
private |
Definition at line 648 of file class.ilShopShoppingCartGUI.php.
References $_SESSION, ilShopBaseGUI\$tpl, ilUtil\getImagePath(), PAY_METHOD_BMF, PAY_METHOD_PAYPAL, and ilUtil\switchColor().
Referenced by showItems().
ilShopShoppingCartGUI::showItems | ( | ) |
Definition at line 332 of file class.ilShopShoppingCartGUI.php.
References $_SESSION, ilShopBaseGUI\$tpl, ilPayMethods\_enabled(), ilPaymentPrices\_getPrice(), ilPaymentPrices\_getPriceString(), initShoppingCartObject(), PAY_METHOD_BMF, PAY_METHOD_PAYPAL, ilUtil\sendInfo(), showCouponInput(), and showItemsTable().
Referenced by cancelPaypal(), deleteItem(), finishPaypal(), removeCoupon(), and setCoupon().
|
private |
Definition at line 703 of file class.ilShopShoppingCartGUI.php.
References $_GET, $_SESSION, $title, $totalAmount, ilShopBaseGUI\$tpl, ilPaymentPrices\_getPrice(), ilUtil\getImagePath(), PAY_METHOD_BMF, and PAY_METHOD_PAYPAL.
Referenced by showItems().
ilShopShoppingCartGUI::unlockBMFObjectsInShoppingCart | ( | ) |
Definition at line 99 of file class.ilShopShoppingCartGUI.php.
References $_SESSION, addBookings(), PAY_METHOD_BMF, and ilUtil\sendInfo().
ilShopShoppingCartGUI::unlockPAYPALObjectsInShoppingCart | ( | ) |
Definition at line 115 of file class.ilShopShoppingCartGUI.php.
References $_SESSION, addBookings(), PAY_METHOD_PAYPAL, and ilUtil\sendInfo().
|
private |
Definition at line 44 of file class.ilShopShoppingCartGUI.php.
|
private |
Definition at line 42 of file class.ilShopShoppingCartGUI.php.
|
private |
Definition at line 46 of file class.ilShopShoppingCartGUI.php.
Referenced by showItemsTable().
|
private |
Definition at line 40 of file class.ilShopShoppingCartGUI.php.
Referenced by __construct().