|
ILIAS
Release_4_0_x_branch Revision 61816
|
Inheritance diagram for ilPaymentShoppingCartGUI:
Collaboration diagram for ilPaymentShoppingCartGUI: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().
Here is the caller graph for this function:| ilPaymentShoppingCartGUI::__initShoppingCartObject | ( | ) |
Definition at line 1010 of file class.ilPaymentShoppingCartGUI.php.
Referenced by deleteItem(), and showItems().
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPaymentShoppingCartGUI::cancelPaypal | ( | ) |
Definition at line 385 of file class.ilPaymentShoppingCartGUI.php.
References ilUtil\sendInfo(), and showItems().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPaymentShoppingCartGUI::deleteItem | ( | ) |
Definition at line 987 of file class.ilPaymentShoppingCartGUI.php.
References $_POST, __initShoppingCartObject(), checkCouponsOfShoppingCart(), ilUtil\sendInfo(), and showItems().
Here is the call graph for this function:| & 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.
Here is the call graph for this function:| ilPaymentShoppingCartGUI::ilPaymentShoppingCartGUI | ( | & | $user_obj | ) |
Definition at line 61 of file class.ilPaymentShoppingCartGUI.php.
References $ilCtrl, $user_obj, checkCouponsOfShoppingCart(), ilPaypalSettings\getInstance(), and ilPaymentBaseGUI\ilPaymentBaseGUI().
Here is the call graph for this function:| ilPaymentShoppingCartGUI::removeCoupon | ( | ) |
Definition at line 728 of file class.ilPaymentShoppingCartGUI.php.
References $_GET, $_SESSION, $key, and showItems().
Here is the call graph for this function:| 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().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPaymentShoppingCartGUI::unlockBillObjectsInShoppingCart | ( | ) |
Definition at line 99 of file class.ilPaymentShoppingCartGUI.php.
References $_SESSION, addBookings(), PAY_METHOD_BILL, and ilUtil\sendInfo().
Here is the call graph for this function:| ilPaymentShoppingCartGUI::unlockBMFObjectsInShoppingCart | ( | ) |
Definition at line 113 of file class.ilPaymentShoppingCartGUI.php.
References $_SESSION, addBookings(), PAY_METHOD_BMF, and ilUtil\sendInfo().
Here is the call graph for this function:| ilPaymentShoppingCartGUI::unlockPAYPALObjectsInShoppingCart | ( | ) |
Definition at line 129 of file class.ilPaymentShoppingCartGUI.php.
References $_SESSION, addBookings(), PAY_METHOD_PAYPAL, and ilUtil\sendInfo().
Here is the call graph for this function:| 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().