|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Class ilShopShoppingCartGUI. More...
Inheritance diagram for ilShopShoppingCartGUI:
Collaboration diagram for ilShopShoppingCartGUI:Public Member Functions | |
| __construct ($user_obj) | |
| executeCommand () | |
| execute command More... | |
| unlockBillObjectsInShoppingCart () | |
| unlockBMFObjectsInShoppingCart () | |
| unlockPAYPALObjectsInShoppingCart () | |
| checkCouponsOfShoppingCart () | |
| finishEPay () | |
| Return from ePay. More... | |
| finishPaypal () | |
| cancelEPay () | |
| cancelPaypal () | |
| forceShoppingCartRedirect () | |
| showItems () | |
| removeCoupon () | |
| setCoupon () | |
| deleteItem () | |
Public Member Functions inherited from ilShopBaseGUI | |
| __construct () | |
Protected Member Functions | |
| prepareOutput () | |
Protected Member Functions inherited from ilShopBaseGUI | |
| prepareOutput () | |
| addPager ($result) | |
Private Member Functions | |
| addBookings ($pay_method, $coupon_session) | |
| _getPayMethods ( $limitToEnabled=false) | |
| _getTemplateFilename ( $a_pm_title) | |
| showCouponInput ($payment_type='') | |
| showItemsTable (&$a_tpl, $a_result_set, $a_pay_method=0) | |
| initShoppingCartObject () | |
| initPaypalObject () | |
| encryptButton ($buttonParams) | |
| Creates a new encrypted button HTML block. More... | |
Private Attributes | |
| $user_obj | |
| $psc_obj = null | |
| $paypal_obj = null | |
| $totalAmount = array() | |
| $totalVat = 0 | |
| $epSet | |
| $session_id | |
Additional Inherited Members | |
Protected Attributes inherited from ilShopBaseGUI | |
| $ctrl = null | |
| $lng = null | |
| $tpl = null | |
| $settings = null | |
Class ilShopShoppingCartGUI.
Definition at line 26 of file class.ilShopShoppingCartGUI.php.
| ilShopShoppingCartGUI::__construct | ( | $user_obj | ) |
Definition at line 39 of file class.ilShopShoppingCartGUI.php.
References $_SESSION, $ilUser, $user_obj, ilPaymentShoppingCart\_assignObjectsToUserId(), checkCouponsOfShoppingCart(), and ilPaypalSettings\getInstance().
Here is the call graph for this function:
|
private |
Definition at line 436 of file class.ilShopShoppingCartGUI.php.
Referenced by showItems().
Here is the caller graph for this function:
|
private |
Definition at line 470 of file class.ilShopShoppingCartGUI.php.
Referenced by showItems().
Here is the caller graph for this function:
|
private |
Definition at line 147 of file class.ilShopShoppingCartGUI.php.
References $_SESSION, $ilUser, ilPaymentPrices\_getPrice(), ilPaymentPrices\_getPriceString(), ilPaymentPrices\TYPE_DURATION_DATE, ilPaymentPrices\TYPE_DURATION_MONTH, and ilPaymentPrices\TYPE_UNLIMITED_DURATION.
Referenced by unlockBMFObjectsInShoppingCart().
Here is the call graph for this function:
Here is the caller graph for this function:| ilShopShoppingCartGUI::cancelEPay | ( | ) |
Definition at line 424 of file class.ilShopShoppingCartGUI.php.
| ilShopShoppingCartGUI::cancelPaypal | ( | ) |
Definition at line 430 of file class.ilShopShoppingCartGUI.php.
References ilUtil\sendInfo(), and showItems().
Here is the call graph for this function:| ilShopShoppingCartGUI::checkCouponsOfShoppingCart | ( | ) |
Definition at line 285 of file class.ilShopShoppingCartGUI.php.
References $_SESSION.
Referenced by __construct(), and deleteItem().
Here is the caller graph for this function:| ilShopShoppingCartGUI::deleteItem | ( | ) |
Definition at line 1090 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 | $buttonParams | The button parameters as key/value pairs |
Definition at line 1130 of file class.ilShopShoppingCartGUI.php.
References $data.
| ilShopShoppingCartGUI::executeCommand | ( | ) |
execute command
Definition at line 80 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 349 of file class.ilShopShoppingCartGUI.php.
| ilShopShoppingCartGUI::finishPaypal | ( | ) |
Definition at line 370 of file class.ilShopShoppingCartGUI.php.
References $_SESSION, $ilUser, $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:| ilShopShoppingCartGUI::forceShoppingCartRedirect | ( | ) |
Definition at line 479 of file class.ilShopShoppingCartGUI.php.
References $_GET, $_SESSION, ilPaymentShoppingCart\_assignObjectsToUserId(), and showItems().
Here is the call graph for this function:
|
private |
Definition at line 1118 of file class.ilShopShoppingCartGUI.php.
Referenced by finishPaypal().
Here is the caller graph for this function:
|
private |
Definition at line 1112 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 100 of file class.ilShopShoppingCartGUI.php.
Referenced by executeCommand().
Here is the caller graph for this function:| ilShopShoppingCartGUI::removeCoupon | ( | ) |
Definition at line 870 of file class.ilShopShoppingCartGUI.php.
References $_GET, $_SESSION, and showItems().
Here is the call graph for this function:| ilShopShoppingCartGUI::setCoupon | ( | ) |
Definition at line 884 of file class.ilShopShoppingCartGUI.php.
References $_POST, $_SESSION, ilUtil\sendInfo(), and showItems().
Here is the call graph for this function:
|
private |
Definition at line 948 of file class.ilShopShoppingCartGUI.php.
References $_SESSION, ilShopBaseGUI\$tpl, ilObject\_getIcon(), ilPaymentSettings\_getInstance(), 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 492 of file class.ilShopShoppingCartGUI.php.
References $_SESSION, $ilUser, ilShopBaseGUI\$tpl, ilShopUtils\_formatVAT(), ilPaymentPrices\_getGUIPrice(), ilPaymentSettings\_getInstance(), _getPayMethods(), ilPaymentPrices\_getPrice(), ilPaymentPrices\_getPriceString(), _getTemplateFilename(), ilRTE\_replaceMediaObjectImageSrc(), ilDatePresentation\formatDate(), IL_CAL_DATE, initShoppingCartObject(), ilUtil\sendInfo(), showCouponInput(), showItemsTable(), ilPaymentPrices\TYPE_DURATION_DATE, ilPaymentPrices\TYPE_DURATION_MONTH, and ilPaymentPrices\TYPE_UNLIMITED_DURATION.
Referenced by cancelPaypal(), deleteItem(), finishPaypal(), forceShoppingCartRedirect(), removeCoupon(), and setCoupon().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1000 of file class.ilShopShoppingCartGUI.php.
References $_SESSION, $tbl, $totalAmount, ilPaymentSettings\_getInstance(), ilPaymentPrices\_getPrice(), and ilPayMethods\getStringByPaymethod().
Referenced by showItems().
Here is the call graph for this function:
Here is the caller graph for this function:| ilShopShoppingCartGUI::unlockBillObjectsInShoppingCart | ( | ) |
Definition at line 108 of file class.ilShopShoppingCartGUI.php.
References ilPayMethods\_getIdByTitle().
Here is the call graph for this function:| ilShopShoppingCartGUI::unlockBMFObjectsInShoppingCart | ( | ) |
Definition at line 119 of file class.ilShopShoppingCartGUI.php.
References $_SESSION, addBookings(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilShopShoppingCartGUI::unlockPAYPALObjectsInShoppingCart | ( | ) |
Definition at line 135 of file class.ilShopShoppingCartGUI.php.
References ilPayMethods\_getIdByTitle(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
private |
Definition at line 34 of file class.ilShopShoppingCartGUI.php.
|
private |
Definition at line 30 of file class.ilShopShoppingCartGUI.php.
|
private |
Definition at line 29 of file class.ilShopShoppingCartGUI.php.
|
private |
Definition at line 37 of file class.ilShopShoppingCartGUI.php.
|
private |
Definition at line 32 of file class.ilShopShoppingCartGUI.php.
Referenced by showItemsTable().
|
private |
Definition at line 33 of file class.ilShopShoppingCartGUI.php.
|
private |
Definition at line 28 of file class.ilShopShoppingCartGUI.php.
Referenced by __construct().