ILIAS
release_4-3 Revision
|
Class class.ilPurchaseBaseGUI.php. More...
Public Member Functions | |
__construct ($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= '') | |
__getTotalAmount () | |
depricated!? | |
getBill () | |
__showShoppingCart () | |
Public Member Functions inherited from ilShopBaseGUI | |
__construct () |
Data Fields | |
$ctrl | |
$tpl | |
$psc_obj = null | |
$user_obj = null | |
$coupon_obj = null | |
$error | |
$pmethod_obj = null |
Private Member Functions | |
__getShoppingCart () | |
__showItemsTable ($a_result_set) |
Private Attributes | |
$pm_id = 0 | |
$totalVat = 0 | |
$session_var = null |
Additional Inherited Members | |
Protected Member Functions inherited from ilShopBaseGUI | |
prepareOutput () | |
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= '') | |
Protected Attributes inherited from ilShopBaseGUI | |
$ctrl = null | |
$lng = null | |
$tpl = null | |
$oGeneralSettings = null | |
$section = 0 | |
$sub_section = 0 |
Class class.ilPurchaseBaseGUI.php.
Definition at line 22 of file class.ilPurchaseBaseGUI.php.
ilPurchaseBaseGUI::__construct | ( | $user_obj, | |
$pay_method | |||
) |
Definition at line 38 of file class.ilPurchaseBaseGUI.php.
References $_SESSION, $ilCtrl, ilShopBaseGUI\$lng, $pay_method, $session_var, $tpl, $user_obj, ilShopBaseGUI\__construct(), __getCountryCode(), and __loadTemplate().
ilPurchaseBaseGUI::__addBookings | ( | $external_data = null | ) |
Definition at line 283 of file class.ilPurchaseBaseGUI.php.
References $_SESSION, $ilUser, $session_var, $total, __getCountryName(), __sendBill(), ilShopUtils\_addPurchasedObjToDesktop(), ilShopUtils\_assignPurchasedCourseMemberRole(), ilInvoiceNumberPlaceholdersPropertyGUI\_generateInvoiceNumber(), ilPaymentObject\_getObjectData(), ilObject\_lookupType(), ilPaymentPrices\TYPE_DURATION_DATE, ilPaymentPrices\TYPE_DURATION_MONTH, and ilPaymentPrices\TYPE_UNLIMITED_DURATION.
Referenced by ilPurchasePaypal\checkData(), and getBill().
ilPurchaseBaseGUI::__buildLocator | ( | ) |
Definition at line 768 of file class.ilPurchaseBaseGUI.php.
References ilUtil\sendInfo().
ilPurchaseBaseGUI::__buildStatusline | ( | ) |
Definition at line 762 of file class.ilPurchaseBaseGUI.php.
ilPurchaseBaseGUI::__buildStylesheet | ( | ) |
Definition at line 790 of file class.ilPurchaseBaseGUI.php.
References ilUtil\getStyleSheetLocation().
ilPurchaseBaseGUI::__clearSession | ( | ) |
Definition at line 746 of file class.ilPurchaseBaseGUI.php.
References $_SESSION, and $session_var.
Referenced by ilPurchaseBMFGUI\sendCreditCard(), and ilPurchaseBMFGUI\sendDebitEntry().
ilPurchaseBaseGUI::__emptyShoppingCart | ( | ) |
Definition at line 737 of file class.ilPurchaseBaseGUI.php.
Referenced by ilPurchaseBMFGUI\sendCreditCard(), and ilPurchaseBMFGUI\sendDebitEntry().
ilPurchaseBaseGUI::__getCountries | ( | ) |
shows select box f�r countries
Definition at line 798 of file class.ilPurchaseBaseGUI.php.
References ilShopBaseGUI\$lng.
Referenced by __getCountryCode(), __getCountryName(), ilPurchaseBMFGUI\showPersonalData(), and showPersonalData().
ilPurchaseBaseGUI::__getCountryCode | ( | $value = '' | ) |
Definition at line 831 of file class.ilPurchaseBaseGUI.php.
References __getCountries().
Referenced by __construct().
ilPurchaseBaseGUI::__getCountryName | ( | $value = '' | ) |
Definition at line 844 of file class.ilPurchaseBaseGUI.php.
References __getCountries().
Referenced by __addBookings().
|
private |
Definition at line 850 of file class.ilPurchaseBaseGUI.php.
References ilPaymentPrices\_getPrice(), and ilObjectFactory\getInstanceByRefId().
Referenced by __getTotalAmount().
ilPurchaseBaseGUI::__getTotalAmount | ( | ) |
depricated!?
Definition at line 891 of file class.ilPurchaseBaseGUI.php.
References $result, and __getShoppingCart().
ilPurchaseBaseGUI::__loadTemplate | ( | ) |
Definition at line 752 of file class.ilPurchaseBaseGUI.php.
References ilShopBaseGUI\prepareOutput().
Referenced by __construct().
ilPurchaseBaseGUI::__sendBill | ( | $bookings | ) |
Definition at line 497 of file class.ilPurchaseBaseGUI.php.
References $_SESSION, $ilSetting, $tpl, ilUtil\_getHttpPath(), ilPaymentSettings\_getInstance(), ilRTE\_replaceMediaObjectImageSrc(), ilDatePresentation\formatDate(), ilMimeMail\From(), ilPayMethods\getStringByPaymethod(), ilUtil\html2pdf(), IL_CAL_DATE, IL_CAL_UNIX, ilUtil\makeDir(), ilBillingMailPlaceholdersPropertyGUI\replaceBillingMailPlaceholders(), and ilDatePresentation\setUseRelativeDates().
Referenced by __addBookings().
|
private |
Definition at line 995 of file class.ilPurchaseBaseGUI.php.
References $_SESSION, $pm_id, ilPaymentSettings\_getInstance(), and ilPaymentPrices\_getPrice().
Referenced by __showShoppingCart().
ilPurchaseBaseGUI::__showShoppingCart | ( | ) |
Definition at line 914 of file class.ilPurchaseBaseGUI.php.
References $_SESSION, __showItemsTable(), ilShopUtils\_formatVAT(), ilPaymentSettings\_getInstance(), ilPaymentPrices\_getPrice(), ilDatePresentation\formatDate(), ilObjectFactory\getInstanceByRefId(), IL_CAL_DATE, ilUtil\sendInfo(), ilPaymentPrices\TYPE_DURATION_DATE, ilPaymentPrices\TYPE_DURATION_MONTH, and ilPaymentPrices\TYPE_UNLIMITED_DURATION.
Referenced by showBillConfirm(), ilPurchaseBMFGUI\showCreditCard(), and ilPurchaseBMFGUI\showDebitEntry().
ilPurchaseBaseGUI::cancel | ( | ) |
Reimplemented in ilPurchaseBMFGUI.
Definition at line 95 of file class.ilPurchaseBaseGUI.php.
References ilUtil\redirect().
ilPurchaseBaseGUI::executeCommand | ( | ) |
execute command
Reimplemented in ilPurchaseBMFGUI.
Definition at line 267 of file class.ilPurchaseBaseGUI.php.
References $cmd.
ilPurchaseBaseGUI::getBill | ( | ) |
Definition at line 906 of file class.ilPurchaseBaseGUI.php.
References __addBookings(), and ilUtil\sendInfo().
ilPurchaseBaseGUI::getPersonalData | ( | ) |
Reimplemented in ilPurchaseBMFGUI.
Definition at line 182 of file class.ilPurchaseBaseGUI.php.
References $_POST, $_SESSION, $session_var, ilUtil\sendInfo(), showBillConfirm(), and showPersonalData().
ilPurchaseBaseGUI::showBillConfirm | ( | ) |
Definition at line 227 of file class.ilPurchaseBaseGUI.php.
References __showShoppingCart(), ilUtil\getImagePath(), and ilUtil\sendInfo().
Referenced by getPersonalData().
ilPurchaseBaseGUI::showPersonalData | ( | ) |
Reimplemented in ilPurchaseBMFGUI.
Definition at line 100 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.
|
private |
Definition at line 36 of file class.ilPurchaseBaseGUI.php.
Referenced by __addBookings(), __clearSession(), __construct(), and getPersonalData().
|
private |
Definition at line 35 of file class.ilPurchaseBaseGUI.php.
ilPurchaseBaseGUI::$tpl |
Definition at line 25 of file class.ilPurchaseBaseGUI.php.
Referenced by __construct(), and __sendBill().
ilPurchaseBaseGUI::$user_obj = null |
Definition at line 28 of file class.ilPurchaseBaseGUI.php.
Referenced by __construct().