ILIAS
Release_4_2_x_branch Revision 61807
|
Class class.ilPurchaseBaseGUI.php. More...
Public Member Functions | |
ilPurchaseBaseGUI ($user_obj, $pay_method) | |
cancel () | |
showPersonalData () | |
getPersonalData () | |
showBillConfirm () | |
executeCommand () | |
execute command | |
__addBookings ($external_data=null) | |
__sendBill ($bookings) | |
__emptyShoppingCart () | |
__clearSession () | |
__loadTemplate () | |
__buildStatusline () | |
__buildLocator () | |
__buildStylesheet () | |
__getCountries () | |
shows select box f�r countries | |
__getCountryCode ($value= '') | |
__getCountryName ($value= '') | |
__getShoppingCart () | |
__getTotalAmount () | |
getBill () | |
__showShoppingCart () |
Data Fields | |
$ctrl | |
$tpl | |
$psc_obj = null | |
$user_obj = null | |
$coupon_obj = null | |
$error | |
$pmethod_obj = null |
Private Member Functions | |
__showItemsTable ($a_result_set) |
Private Attributes | |
$pm_id = 0 | |
$totalVat = 0 | |
$session_var = null |
Class class.ilPurchaseBaseGUI.php.
Definition at line 22 of file class.ilPurchaseBaseGUI.php.
ilPurchaseBaseGUI::__addBookings | ( | $external_data = null | ) |
Definition at line 301 of file class.ilPurchaseBaseGUI.php.
References $_SESSION, $session_var, $total, __sendBill(), ilShopUtils\_addPurchasedObjToDesktop(), ilShopUtils\_assignPurchasedCourseMemberRole(), ilInvoiceNumberPlaceholdersPropertyGUI\_generateInvoiceNumber(), ilPaymentObject\_getObjectData(), and ilObject\_lookupType().
Referenced by ilPurchasePaypal\checkData(), and getBill().
ilPurchaseBaseGUI::__buildLocator | ( | ) |
Definition at line 725 of file class.ilPurchaseBaseGUI.php.
References ilUtil\sendInfo().
ilPurchaseBaseGUI::__buildStatusline | ( | ) |
Definition at line 719 of file class.ilPurchaseBaseGUI.php.
Referenced by __loadTemplate().
ilPurchaseBaseGUI::__buildStylesheet | ( | ) |
Definition at line 747 of file class.ilPurchaseBaseGUI.php.
References ilUtil\getStyleSheetLocation().
Referenced by __loadTemplate().
ilPurchaseBaseGUI::__clearSession | ( | ) |
Definition at line 705 of file class.ilPurchaseBaseGUI.php.
References $_SESSION, and $session_var.
Referenced by ilPurchaseBMFGUI\sendCreditCard(), and ilPurchaseBMFGUI\sendDebitEntry().
ilPurchaseBaseGUI::__emptyShoppingCart | ( | ) |
Definition at line 696 of file class.ilPurchaseBaseGUI.php.
Referenced by ilPurchaseBMFGUI\sendCreditCard(), and ilPurchaseBMFGUI\sendDebitEntry().
ilPurchaseBaseGUI::__getCountries | ( | ) |
shows select box f�r countries
Definition at line 755 of file class.ilPurchaseBaseGUI.php.
References $lng.
Referenced by __getCountryCode(), __getCountryName(), ilPurchaseBMFGUI\showPersonalData(), and showPersonalData().
ilPurchaseBaseGUI::__getCountryCode | ( | $value = '' | ) |
Definition at line 788 of file class.ilPurchaseBaseGUI.php.
References __getCountries().
Referenced by ilPurchaseBaseGUI().
ilPurchaseBaseGUI::__getCountryName | ( | $value = '' | ) |
Definition at line 801 of file class.ilPurchaseBaseGUI.php.
References __getCountries().
ilPurchaseBaseGUI::__getShoppingCart | ( | ) |
Definition at line 807 of file class.ilPurchaseBaseGUI.php.
References ilPaymentPrices\_getPrice(), and ilObjectFactory\getInstanceByRefId().
Referenced by __getTotalAmount().
ilPurchaseBaseGUI::__getTotalAmount | ( | ) |
Definition at line 844 of file class.ilPurchaseBaseGUI.php.
References $result, and __getShoppingCart().
ilPurchaseBaseGUI::__loadTemplate | ( | ) |
Definition at line 711 of file class.ilPurchaseBaseGUI.php.
References __buildStatusline(), and __buildStylesheet().
Referenced by ilPurchaseBaseGUI().
ilPurchaseBaseGUI::__sendBill | ( | $bookings | ) |
Definition at line 486 of file class.ilPurchaseBaseGUI.php.
References $_SESSION, $file_name, $psc_obj, $tpl, ilUtil\_getHttpPath(), ilPaymentSettings\_getInstance(), ilDatePresentation\formatDate(), ilMimeMail\From(), ilPayMethods\getStringByPaymethod(), ilUtil\html2pdf(), IL_CAL_DATETIME, IL_CAL_UNIX, ilUtil\makeDir(), ilBillingMailPlaceholdersPropertyGUI\replaceBillingMailPlaceholders(), and ilDatePresentation\setUseRelativeDates().
Referenced by __addBookings().
|
private |
Definition at line 959 of file class.ilPurchaseBaseGUI.php.
References $_SESSION, $pm_id, ilPaymentSettings\_getInstance(), and ilPaymentPrices\_getPrice().
Referenced by __showShoppingCart().
ilPurchaseBaseGUI::__showShoppingCart | ( | ) |
Definition at line 883 of file class.ilPurchaseBaseGUI.php.
References $_SESSION, __showItemsTable(), ilShopUtils\_formatVAT(), ilPaymentSettings\_getInstance(), ilPaymentPrices\_getPrice(), ilPaymentCurrency\_getUnit(), ilObjectFactory\getInstanceByRefId(), and ilUtil\sendInfo().
Referenced by showBillConfirm(), ilPurchaseBMFGUI\showCreditCard(), and ilPurchaseBMFGUI\showDebitEntry().
ilPurchaseBaseGUI::cancel | ( | ) |
Reimplemented in ilPurchaseBMFGUI.
Definition at line 94 of file class.ilPurchaseBaseGUI.php.
References ilUtil\redirect().
ilPurchaseBaseGUI::executeCommand | ( | ) |
execute command
Reimplemented in ilPurchaseBMFGUI.
Definition at line 283 of file class.ilPurchaseBaseGUI.php.
References $cmd.
ilPurchaseBaseGUI::getBill | ( | ) |
Definition at line 859 of file class.ilPurchaseBaseGUI.php.
References $_POST, __addBookings(), getPersonalData(), and ilUtil\sendInfo().
ilPurchaseBaseGUI::getPersonalData | ( | ) |
Reimplemented in ilPurchaseBMFGUI.
Definition at line 181 of file class.ilPurchaseBaseGUI.php.
References $_POST, $_SESSION, $session_var, ilUtil\sendInfo(), showBillConfirm(), and showPersonalData().
Referenced by getBill().
ilPurchaseBaseGUI::ilPurchaseBaseGUI | ( | $user_obj, | |
$pay_method | |||
) |
Definition at line 38 of file class.ilPurchaseBaseGUI.php.
References $_SESSION, $ilCtrl, $lng, $pay_method, $session_var, $tpl, $user_obj, __getCountryCode(), and __loadTemplate().
ilPurchaseBaseGUI::showBillConfirm | ( | ) |
Definition at line 226 of file class.ilPurchaseBaseGUI.php.
References $_POST, __showShoppingCart(), ilUtil\getImagePath(), ilUtil\prepareFormOutput(), and ilUtil\sendInfo().
Referenced by getPersonalData().
ilPurchaseBaseGUI::showPersonalData | ( | ) |
Reimplemented in ilPurchaseBMFGUI.
Definition at line 99 of file class.ilPurchaseBaseGUI.php.
References $_POST, $_SESSION, __getCountries(), ilUtil\prepareFormOutput(), ilUtil\sendInfo(), ilSelectInputGUI\setOptions(), ilTextInputGUI\setValue(), and ilNonEditableValueGUI\setValue().
Referenced by getPersonalData().
ilPurchaseBaseGUI::$coupon_obj = null |
Definition at line 30 of file class.ilPurchaseBaseGUI.php.
ilPurchaseBaseGUI::$ctrl |
Definition at line 24 of file class.ilPurchaseBaseGUI.php.
ilPurchaseBaseGUI::$error |
Definition at line 31 of file class.ilPurchaseBaseGUI.php.
|
private |
Definition at line 34 of file class.ilPurchaseBaseGUI.php.
Referenced by __showItemsTable().
ilPurchaseBaseGUI::$pmethod_obj = null |
Definition at line 33 of file class.ilPurchaseBaseGUI.php.
ilPurchaseBaseGUI::$psc_obj = null |
Definition at line 27 of file class.ilPurchaseBaseGUI.php.
Referenced by __sendBill().
|
private |
Definition at line 36 of file class.ilPurchaseBaseGUI.php.
Referenced by __addBookings(), __clearSession(), getPersonalData(), and ilPurchaseBaseGUI().
|
private |
Definition at line 35 of file class.ilPurchaseBaseGUI.php.
ilPurchaseBaseGUI::$tpl |
Definition at line 25 of file class.ilPurchaseBaseGUI.php.
Referenced by __sendBill(), and ilPurchaseBaseGUI().
ilPurchaseBaseGUI::$user_obj = null |
Definition at line 28 of file class.ilPurchaseBaseGUI.php.
Referenced by ilPurchaseBaseGUI().