|
ILIAS
Release_4_0_x_branch Revision 61816
|
Class ilShopShoppingCartGUI. More...
Inheritance diagram for ilShopShoppingCartGUI:
Collaboration diagram for ilShopShoppingCartGUI:Public Member Functions | |
| __construct ($user_obj) | |
| executeCommand () | |
| execute command | |
| unlockBillObjectsInShoppingCart () | |
| unlockBMFObjectsInShoppingCart () | |
| unlockPAYPALObjectsInShoppingCart () | |
| checkCouponsOfShoppingCart () | |
| finishEPay () | |
| Return from ePay. | |
| finishPaypal () | |
| cancelEPay () | |
| cancelPaypal () | |
| cartNotEmpty () | |
| 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) | |
| _getPayMethods ($limitToEnabled=false) | |
| _getPayString ($v) | |
| _getTemplateFilename ($v) | |
| 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() | |
| $totalVat = 0 | |
| $epSet | |
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 40 of file class.ilShopShoppingCartGUI.php.
| ilShopShoppingCartGUI::__construct | ( | $user_obj | ) |
Definition at line 53 of file class.ilShopShoppingCartGUI.php.
References $user_obj, ilShopBaseGUI\__construct(), checkCouponsOfShoppingCart(), ilPaypalSettings\getInstance(), and ilEPaySettings\getInstance().
Here is the call graph for this function:
|
private |
Definition at line 431 of file class.ilShopShoppingCartGUI.php.
References ilPayMethods\_enabled(), PAY_METHOD_BILL, PAY_METHOD_BMF, PAY_METHOD_EPAY, and PAY_METHOD_PAYPAL.
Referenced by cartNotEmpty(), and showItems().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 443 of file class.ilShopShoppingCartGUI.php.
References PAY_METHOD_BILL, PAY_METHOD_BMF, PAY_METHOD_EPAY, and PAY_METHOD_PAYPAL.
Referenced by _getTemplateFilename(), and showItems().
Here is the caller graph for this function:
|
private |
Definition at line 451 of file class.ilShopShoppingCartGUI.php.
References _getPayString().
Referenced by showItems().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 149 of file class.ilShopShoppingCartGUI.php.
References $_SESSION, ilShopBaseGUI\$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:| ilShopShoppingCartGUI::cancelEPay | ( | ) |
Definition at line 418 of file class.ilShopShoppingCartGUI.php.
References ilUtil\sendInfo(), and showItems().
Here is the call graph for this function:| ilShopShoppingCartGUI::cancelPaypal | ( | ) |
Definition at line 425 of file class.ilShopShoppingCartGUI.php.
References ilUtil\sendInfo(), and showItems().
Here is the call graph for this function:| ilShopShoppingCartGUI::cartNotEmpty | ( | ) |
Definition at line 459 of file class.ilShopShoppingCartGUI.php.
References _getPayMethods().
Here is the call graph for this function:| ilShopShoppingCartGUI::checkCouponsOfShoppingCart | ( | ) |
Definition at line 276 of file class.ilShopShoppingCartGUI.php.
References $_SESSION, ilPayMethods\_enabled(), PAY_METHOD_BILL, PAY_METHOD_BMF, PAY_METHOD_EPAY, and PAY_METHOD_PAYPAL.
Referenced by __construct(), and deleteItem().
Here is the call graph for this function:
Here is the caller graph for this function:| ilShopShoppingCartGUI::deleteItem | ( | ) |
Definition at line 1100 of file class.ilShopShoppingCartGUI.php.
References $_POST, checkCouponsOfShoppingCart(), initShoppingCartObject(), ilUtil\sendInfo(), and showItems().
Here is the call graph for this function:
|
private |
Creates a new encrypted button HTML block.
| array | The button parameters as key/value pairs |
Definition at line 1140 of file class.ilShopShoppingCartGUI.php.
| ilShopShoppingCartGUI::executeCommand | ( | ) |
execute command
Definition at line 73 of file class.ilShopShoppingCartGUI.php.
References $cmd, and prepareOutput().
Here is the call graph for this function:| ilShopShoppingCartGUI::finishEPay | ( | ) |
Return from ePay.
: Check for ePay/PBS error
: Flyt fakturering til callback
Definition at line 355 of file class.ilShopShoppingCartGUI.php.
References ilShopBaseGUI\$ilias, PAY_METHOD_EPAY, ilPurchase\purchase(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilShopShoppingCartGUI::finishPaypal | ( | ) |
Definition at line 376 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\sendFailure(), ilUtil\sendSuccess(), showItems(), and SUCCESS.
Here is the call graph for this function:
|
private |
Definition at line 1129 of file class.ilShopShoppingCartGUI.php.
Referenced by finishPaypal().
Here is the caller graph for this function:
|
private |
Definition at line 1123 of file class.ilShopShoppingCartGUI.php.
Referenced by deleteItem(), and showItems().
Here is the caller graph for this function:
|
protected |
Reimplemented from ilShopBaseGUI.
Definition at line 98 of file class.ilShopShoppingCartGUI.php.
Referenced by executeCommand().
Here is the caller graph for this function:| ilShopShoppingCartGUI::removeCoupon | ( | ) |
Definition at line 840 of file class.ilShopShoppingCartGUI.php.
References $_GET, $_SESSION, $key, and showItems().
Here is the call graph for this function:| ilShopShoppingCartGUI::setCoupon | ( | ) |
Definition at line 752 of file class.ilShopShoppingCartGUI.php.
References $_POST, $_SESSION, $key, PAY_METHOD_BILL, PAY_METHOD_BMF, PAY_METHOD_EPAY, PAY_METHOD_PAYPAL, ilUtil\sendInfo(), and showItems().
Here is the call graph for this function:
|
private |
Definition at line 855 of file class.ilShopShoppingCartGUI.php.
References $_SESSION, ilShopBaseGUI\$tpl, ilUtil\getImagePath(), PAY_METHOD_BMF, PAY_METHOD_EPAY, 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:| ilShopShoppingCartGUI::showItems | ( | ) |
Definition at line 478 of file class.ilShopShoppingCartGUI.php.
References $_SESSION, $desc, $key, ilShopBaseGUI\$tpl, ilShopUtils\_formatVAT(), _getPayMethods(), _getPayString(), ilPaymentPrices\_getPrice(), ilPaymentPrices\_getPriceString(), _getTemplateFilename(), initShoppingCartObject(), PAY_METHOD_BILL, PAY_METHOD_BMF, PAY_METHOD_EPAY, PAY_METHOD_PAYPAL, ilUtil\sendInfo(), showCouponInput(), and showItemsTable().
Referenced by cancelEPay(), cancelPaypal(), deleteItem(), finishPaypal(), removeCoupon(), and setCoupon().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 916 of file class.ilShopShoppingCartGUI.php.
References $_GET, $_SESSION, $title, $totalAmount, ilShopBaseGUI\$tpl, ilShopUtils\_formatFloat(), ilPaymentPrices\_getPrice(), ilUtil\getImagePath(), PAY_METHOD_BILL, PAY_METHOD_BMF, and PAY_METHOD_PAYPAL.
Referenced by showItems().
Here is the call graph for this function:
Here is the caller graph for this function:| ilShopShoppingCartGUI::unlockBillObjectsInShoppingCart | ( | ) |
Definition at line 106 of file class.ilShopShoppingCartGUI.php.
References $_SESSION, addBookings(), PAY_METHOD_BILL, and ilUtil\sendInfo().
Here is the call graph for this function:| ilShopShoppingCartGUI::unlockBMFObjectsInShoppingCart | ( | ) |
Definition at line 118 of file class.ilShopShoppingCartGUI.php.
References $_SESSION, addBookings(), PAY_METHOD_BMF, and ilUtil\sendInfo().
Here is the call graph for this function:| ilShopShoppingCartGUI::unlockPAYPALObjectsInShoppingCart | ( | ) |
Definition at line 134 of file class.ilShopShoppingCartGUI.php.
References $_SESSION, addBookings(), PAY_METHOD_PAYPAL, and ilUtil\sendSuccess().
Here is the call graph for this function:
|
private |
Definition at line 51 of file class.ilShopShoppingCartGUI.php.
|
private |
Definition at line 46 of file class.ilShopShoppingCartGUI.php.
|
private |
Definition at line 44 of file class.ilShopShoppingCartGUI.php.
|
private |
Definition at line 48 of file class.ilShopShoppingCartGUI.php.
Referenced by showItemsTable().
|
private |
Definition at line 50 of file class.ilShopShoppingCartGUI.php.
|
private |
Definition at line 42 of file class.ilShopShoppingCartGUI.php.
Referenced by __construct().