ILIAS
Release_3_10_x_branch Revision 61812
|
Public Member Functions | |
ilPaymentShoppingCartGUI (&$user_obj) | |
& | executeCommand () |
execute command | |
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() |
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 918 of file class.ilPaymentShoppingCartGUI.php.
References $data.
ilPaymentShoppingCartGUI::__initPaypalObject | ( | ) |
Definition at line 907 of file class.ilPaymentShoppingCartGUI.php.
Referenced by finishPaypal().
ilPaymentShoppingCartGUI::__initShoppingCartObject | ( | ) |
Definition at line 901 of file class.ilPaymentShoppingCartGUI.php.
Referenced by deleteItem(), and showItems().
ilPaymentShoppingCartGUI::__showCouponInput | ( | $payment_type = "" | ) |
Definition at line 644 of file class.ilPaymentShoppingCartGUI.php.
References $_SESSION, ilPaymentBaseGUI\$tpl, ilUtil\getImagePath(), 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 699 of file class.ilPaymentShoppingCartGUI.php.
References $_GET, $_SESSION, $title, $totalAmount, ilPaymentBaseGUI\$tpl, ilPaymentPrices\_getPrice(), ilUtil\getImagePath(), PAY_METHOD_BMF, and PAY_METHOD_PAYPAL.
Referenced by showItems().
|
private |
Definition at line 126 of file class.ilPaymentShoppingCartGUI.php.
References $_SESSION, ilPaymentPrices\_getPrice(), ilPaymentPrices\_getPriceFromArray(), ilPaymentPrices\_getPriceString(), and ilPaymentPrices\_getPriceStringFromAmount().
Referenced by unlockBMFObjectsInShoppingCart(), and unlockPAYPALObjectsInShoppingCart().
ilPaymentShoppingCartGUI::cancelPaypal | ( | ) |
Definition at line 325 of file class.ilPaymentShoppingCartGUI.php.
References ilUtil\sendInfo(), and showItems().
ilPaymentShoppingCartGUI::checkCouponsOfShoppingCart | ( | ) |
Definition at line 223 of file class.ilPaymentShoppingCartGUI.php.
References $_SESSION, ilPayMethods\_enabled(), PAY_METHOD_BMF, and PAY_METHOD_PAYPAL.
Referenced by deleteItem(), and ilPaymentShoppingCartGUI().
ilPaymentShoppingCartGUI::deleteItem | ( | ) |
Definition at line 878 of file class.ilPaymentShoppingCartGUI.php.
References __initShoppingCartObject(), checkCouponsOfShoppingCart(), ilUtil\sendInfo(), and showItems().
& ilPaymentShoppingCartGUI::executeCommand | ( | ) |
ilPaymentShoppingCartGUI::finishPaypal | ( | ) |
Definition at line 285 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 59 of file class.ilPaymentShoppingCartGUI.php.
References $ilCtrl, $user_obj, checkCouponsOfShoppingCart(), ilPaypalSettings\getInstance(), and ilPaymentBaseGUI\ilPaymentBaseGUI().
ilPaymentShoppingCartGUI::removeCoupon | ( | ) |
Definition at line 629 of file class.ilPaymentShoppingCartGUI.php.
References $_GET, $_SESSION, and showItems().
ilPaymentShoppingCartGUI::setCoupon | ( | ) |
Definition at line 547 of file class.ilPaymentShoppingCartGUI.php.
References $_SESSION, PAY_METHOD_BMF, PAY_METHOD_PAYPAL, ilUtil\sendInfo(), and showItems().
ilPaymentShoppingCartGUI::showItems | ( | ) |
Definition at line 331 of file class.ilPaymentShoppingCartGUI.php.
References $_SESSION, ilPaymentBaseGUI\$tpl, __initShoppingCartObject(), __showCouponInput(), __showItemsTable(), ilPayMethods\_enabled(), ilPaymentPrices\_getPrice(), ilPaymentPrices\_getPriceString(), PAY_METHOD_BMF, PAY_METHOD_PAYPAL, and ilUtil\sendInfo().
Referenced by cancelPaypal(), deleteItem(), finishPaypal(), removeCoupon(), and setCoupon().
ilPaymentShoppingCartGUI::unlockBMFObjectsInShoppingCart | ( | ) |
Definition at line 97 of file class.ilPaymentShoppingCartGUI.php.
References $_SESSION, addBookings(), PAY_METHOD_BMF, and ilUtil\sendInfo().
ilPaymentShoppingCartGUI::unlockPAYPALObjectsInShoppingCart | ( | ) |
Definition at line 113 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().
ilPaymentShoppingCartGUI::$user_obj |
Definition at line 43 of file class.ilPaymentShoppingCartGUI.php.
Referenced by ilPaymentShoppingCartGUI().