ILIAS
Release_4_0_x_branch Revision 61816
|
Public Member Functions | |
ilPaymentShoppingCartGUI (&$user_obj) | |
& | executeCommand () |
execute command | |
unlockBillObjectsInShoppingCart () | |
unlockBMFObjectsInShoppingCart () | |
unlockPAYPALObjectsInShoppingCart () | |
checkCouponsOfShoppingCart () | |
finishPaypal () | |
cancelPaypal () | |
showItems () | |
setCoupon () | |
removeCoupon () | |
__showCouponInput ($payment_type= '') | |
__showItemsTable (&$a_tpl, $a_result_set, $a_pay_method=0) | |
deleteItem () | |
__initShoppingCartObject () | |
__initPaypalObject () | |
__encryptButton ($buttonParams) | |
Creates a new encrypted button HTML block. | |
Public Member Functions inherited from ilPaymentBaseGUI | |
ilPaymentBaseGUI () | |
setSection ($a_section) | |
getSection () | |
setMainSection ($a_main_section) | |
getMainSection () | |
buildHeader () | |
setTableGUIBasicData (&$tbl, &$result_set, $a_default_order_column= '') | |
__buildStatusline () | |
__buildLocator () | |
__buildStylesheet () | |
__buildButtons () |
Data Fields | |
$ctrl | |
$lng | |
$user_obj | |
$psc_obj = null | |
$paypal_obj = null | |
$paypalConfig | |
Data Fields inherited from ilPaymentBaseGUI | |
$ilias | |
$lng | |
$db | |
$tpl | |
$rbacsystem | |
$tabs_gui | |
$user_obj | |
$section | |
$main_section |
Private Member Functions | |
addBookings ($pay_method, $coupon_session) |
Private Attributes | |
$totalAmount = array() | |
$totalVat = array() |
Definition at line 38 of file class.ilPaymentShoppingCartGUI.php.
ilPaymentShoppingCartGUI::__encryptButton | ( | $buttonParams | ) |
Creates a new encrypted button HTML block.
array | The button parameters as key/value pairs |
Definition at line 1027 of file class.ilPaymentShoppingCartGUI.php.
ilPaymentShoppingCartGUI::__initPaypalObject | ( | ) |
Definition at line 1016 of file class.ilPaymentShoppingCartGUI.php.
Referenced by finishPaypal().
ilPaymentShoppingCartGUI::__initShoppingCartObject | ( | ) |
Definition at line 1010 of file class.ilPaymentShoppingCartGUI.php.
Referenced by deleteItem(), and showItems().
ilPaymentShoppingCartGUI::__showCouponInput | ( | $payment_type = '' | ) |
Definition at line 743 of file class.ilPaymentShoppingCartGUI.php.
References $_SESSION, ilPaymentBaseGUI\$tpl, ilUtil\getImagePath(), PAY_METHOD_BILL, PAY_METHOD_BMF, PAY_METHOD_PAYPAL, and ilUtil\switchColor().
Referenced by showItems().
ilPaymentShoppingCartGUI::__showItemsTable | ( | & | $a_tpl, |
$a_result_set, | |||
$a_pay_method = 0 |
|||
) |
Definition at line 801 of file class.ilPaymentShoppingCartGUI.php.
References $_SESSION, $totalAmount, and ilPaymentPrices\_getPrice().
Referenced by showItems().
|
private |
Definition at line 142 of file class.ilPaymentShoppingCartGUI.php.
References $_SESSION, ilPaymentBaseGUI\$ilias, $key, $pay_method, ilPayMethods\_enabled(), ilPaymentPrices\_getPrice(), ilPaymentPrices\_getPriceString(), ilPaymentPrices\_getPriceStringFromAmount(), and ilShopVats\getRate().
Referenced by unlockBillObjectsInShoppingCart(), unlockBMFObjectsInShoppingCart(), and unlockPAYPALObjectsInShoppingCart().
ilPaymentShoppingCartGUI::cancelPaypal | ( | ) |
Definition at line 385 of file class.ilPaymentShoppingCartGUI.php.
References ilUtil\sendInfo(), and showItems().
ilPaymentShoppingCartGUI::checkCouponsOfShoppingCart | ( | ) |
Definition at line 278 of file class.ilPaymentShoppingCartGUI.php.
References $_SESSION, ilPayMethods\_enabled(), PAY_METHOD_BILL, PAY_METHOD_BMF, and PAY_METHOD_PAYPAL.
Referenced by deleteItem(), and ilPaymentShoppingCartGUI().
ilPaymentShoppingCartGUI::deleteItem | ( | ) |
Definition at line 987 of file class.ilPaymentShoppingCartGUI.php.
References $_POST, __initShoppingCartObject(), checkCouponsOfShoppingCart(), ilUtil\sendInfo(), and showItems().
& ilPaymentShoppingCartGUI::executeCommand | ( | ) |
ilPaymentShoppingCartGUI::finishPaypal | ( | ) |
Definition at line 345 of file class.ilPaymentShoppingCartGUI.php.
References $res, __initPaypalObject(), ERROR_FAIL, ERROR_NOT_COMPLETED, ERROR_PREV_TRANS_ID, ERROR_WRONG_CUSTOMER, ERROR_WRONG_ITEMS, ERROR_WRONG_VENDOR, ilUtil\sendInfo(), showItems(), and SUCCESS.
ilPaymentShoppingCartGUI::ilPaymentShoppingCartGUI | ( | & | $user_obj | ) |
Definition at line 61 of file class.ilPaymentShoppingCartGUI.php.
References $ilCtrl, $user_obj, checkCouponsOfShoppingCart(), ilPaypalSettings\getInstance(), and ilPaymentBaseGUI\ilPaymentBaseGUI().
ilPaymentShoppingCartGUI::removeCoupon | ( | ) |
Definition at line 728 of file class.ilPaymentShoppingCartGUI.php.
References $_GET, $_SESSION, $key, and showItems().
ilPaymentShoppingCartGUI::setCoupon | ( | ) |
Definition at line 643 of file class.ilPaymentShoppingCartGUI.php.
References $_POST, $_SESSION, $key, PAY_METHOD_BILL, PAY_METHOD_BMF, PAY_METHOD_PAYPAL, ilUtil\sendInfo(), and showItems().
ilPaymentShoppingCartGUI::showItems | ( | ) |
Definition at line 391 of file class.ilPaymentShoppingCartGUI.php.
References $_SESSION, $key, ilPaymentBaseGUI\$tpl, __initShoppingCartObject(), __showCouponInput(), __showItemsTable(), ilPayMethods\_enabled(), ilShopUtils\_formatVAT(), ilPaymentPrices\_getPrice(), ilPaymentPrices\_getPriceString(), PAY_METHOD_BILL, PAY_METHOD_BMF, PAY_METHOD_PAYPAL, and ilUtil\sendInfo().
Referenced by cancelPaypal(), deleteItem(), finishPaypal(), removeCoupon(), and setCoupon().
ilPaymentShoppingCartGUI::unlockBillObjectsInShoppingCart | ( | ) |
Definition at line 99 of file class.ilPaymentShoppingCartGUI.php.
References $_SESSION, addBookings(), PAY_METHOD_BILL, and ilUtil\sendInfo().
ilPaymentShoppingCartGUI::unlockBMFObjectsInShoppingCart | ( | ) |
Definition at line 113 of file class.ilPaymentShoppingCartGUI.php.
References $_SESSION, addBookings(), PAY_METHOD_BMF, and ilUtil\sendInfo().
ilPaymentShoppingCartGUI::unlockPAYPALObjectsInShoppingCart | ( | ) |
Definition at line 129 of file class.ilPaymentShoppingCartGUI.php.
References $_SESSION, addBookings(), PAY_METHOD_PAYPAL, and ilUtil\sendInfo().
ilPaymentShoppingCartGUI::$ctrl |
Definition at line 40 of file class.ilPaymentShoppingCartGUI.php.
ilPaymentShoppingCartGUI::$lng |
Definition at line 42 of file class.ilPaymentShoppingCartGUI.php.
ilPaymentShoppingCartGUI::$paypal_obj = null |
Definition at line 53 of file class.ilPaymentShoppingCartGUI.php.
ilPaymentShoppingCartGUI::$paypalConfig |
Definition at line 55 of file class.ilPaymentShoppingCartGUI.php.
ilPaymentShoppingCartGUI::$psc_obj = null |
Definition at line 48 of file class.ilPaymentShoppingCartGUI.php.
|
private |
Definition at line 57 of file class.ilPaymentShoppingCartGUI.php.
Referenced by __showItemsTable().
|
private |
Definition at line 59 of file class.ilPaymentShoppingCartGUI.php.
ilPaymentShoppingCartGUI::$user_obj |
Definition at line 43 of file class.ilPaymentShoppingCartGUI.php.
Referenced by ilPaymentShoppingCartGUI().