ILIAS
Release_5_0_x_branch Revision 61816
|
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 () | |
getAccess () | |
setAccess ($access) | |
getPayed () | |
setPayed ($payed) | |
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 | |
$payed = 1 | |
$access = 1 |
Additional Inherited Members | |
Protected Member Functions inherited from ilShopBaseGUI | |
prepareOutput () | |
addPager ($result) | |
Protected Attributes inherited from ilShopBaseGUI | |
$ctrl = null | |
$lng = null | |
$tpl = null | |
$settings = null |
Class class.ilPurchaseBaseGUI.php.
Definition at line 22 of file class.ilPurchaseBaseGUI.php.
ilPurchaseBaseGUI::__construct | ( | $user_obj, | |
$pay_method | |||
) |
Definition at line 41 of file class.ilPurchaseBaseGUI.php.
References $_SESSION, $ilCtrl, ilShopBaseGUI\$lng, $session_var, $tpl, $user_obj, ilShopBaseGUI\__construct(), __getCountryCode(), and __loadTemplate().
ilPurchaseBaseGUI::__addBookings | ( | $external_data = null | ) |
Definition at line 285 of file class.ilPurchaseBaseGUI.php.
References $_SESSION, $ilUser, $session_var, $total, __getCountryName(), __sendBill(), ilShopUtils\_addPurchasedObjToDesktop(), ilShopUtils\_assignPurchasedCourseMemberRole(), ilInvoiceNumberPlaceholdersPropertyGUI\_generateInvoiceNumber(), ilPaymentObject\_getObjectData(), ilObject\_lookupType(), getAccess(), getPayed(), ilPaymentPrices\TYPE_DURATION_DATE, ilPaymentPrices\TYPE_DURATION_MONTH, and ilPaymentPrices\TYPE_UNLIMITED_DURATION.
Referenced by ilPurchasePaypal\checkData(), and getBill().
ilPurchaseBaseGUI::__buildLocator | ( | ) |
Definition at line 776 of file class.ilPurchaseBaseGUI.php.
References ilUtil\sendInfo().
ilPurchaseBaseGUI::__buildStatusline | ( | ) |
Definition at line 770 of file class.ilPurchaseBaseGUI.php.
ilPurchaseBaseGUI::__buildStylesheet | ( | ) |
Definition at line 798 of file class.ilPurchaseBaseGUI.php.
References ilUtil\getStyleSheetLocation().
ilPurchaseBaseGUI::__clearSession | ( | ) |
Definition at line 754 of file class.ilPurchaseBaseGUI.php.
References $_SESSION, and $session_var.
Referenced by ilPurchaseBMFGUI\sendCreditCard(), and ilPurchaseBMFGUI\sendDebitEntry().
ilPurchaseBaseGUI::__emptyShoppingCart | ( | ) |
Definition at line 745 of file class.ilPurchaseBaseGUI.php.
Referenced by ilPurchaseBMFGUI\sendCreditCard(), and ilPurchaseBMFGUI\sendDebitEntry().
ilPurchaseBaseGUI::__getCountries | ( | ) |
shows select box f�r countries
Definition at line 806 of file class.ilPurchaseBaseGUI.php.
References ilShopBaseGUI\$lng.
Referenced by __getCountryCode(), __getCountryName(), ilPurchaseBMFGUI\showPersonalData(), and showPersonalData().
ilPurchaseBaseGUI::__getCountryCode | ( | $value = '' | ) |
Definition at line 839 of file class.ilPurchaseBaseGUI.php.
References __getCountries().
Referenced by __construct().
ilPurchaseBaseGUI::__getCountryName | ( | $value = '' | ) |
Definition at line 852 of file class.ilPurchaseBaseGUI.php.
References __getCountries().
Referenced by __addBookings().
|
private |
Definition at line 858 of file class.ilPurchaseBaseGUI.php.
References ilPaymentPrices\_getPrice(), and ilObjectFactory\getInstanceByRefId().
Referenced by __getTotalAmount().
ilPurchaseBaseGUI::__getTotalAmount | ( | ) |
depricated!?
Definition at line 899 of file class.ilPurchaseBaseGUI.php.
References $result, and __getShoppingCart().
ilPurchaseBaseGUI::__loadTemplate | ( | ) |
Definition at line 760 of file class.ilPurchaseBaseGUI.php.
References ilShopBaseGUI\prepareOutput().
Referenced by __construct().
ilPurchaseBaseGUI::__sendBill | ( | $bookings | ) |
Definition at line 505 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 1003 of file class.ilPurchaseBaseGUI.php.
References $_SESSION, $pm_id, ilPaymentSettings\_getInstance(), and ilPaymentPrices\_getPrice().
Referenced by __showShoppingCart().
ilPurchaseBaseGUI::__showShoppingCart | ( | ) |
Definition at line 922 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 98 of file class.ilPurchaseBaseGUI.php.
References ilUtil\redirect().
ilPurchaseBaseGUI::executeCommand | ( | ) |
execute command
Reimplemented in ilPurchaseBMFGUI.
Definition at line 269 of file class.ilPurchaseBaseGUI.php.
References $cmd.
ilPurchaseBaseGUI::getAccess | ( | ) |
Definition at line 1097 of file class.ilPurchaseBaseGUI.php.
References $access.
Referenced by __addBookings().
ilPurchaseBaseGUI::getBill | ( | ) |
Definition at line 914 of file class.ilPurchaseBaseGUI.php.
References __addBookings(), and ilUtil\sendInfo().
ilPurchaseBaseGUI::getPayed | ( | ) |
Definition at line 1113 of file class.ilPurchaseBaseGUI.php.
References $payed.
Referenced by __addBookings().
ilPurchaseBaseGUI::getPersonalData | ( | ) |
Reimplemented in ilPurchaseBMFGUI.
Definition at line 185 of file class.ilPurchaseBaseGUI.php.
References $_POST, $_SESSION, $session_var, ilUtil\sendInfo(), showBillConfirm(), and showPersonalData().
ilPurchaseBaseGUI::setAccess | ( | $access | ) |
int | $access |
Definition at line 1105 of file class.ilPurchaseBaseGUI.php.
References $access.
Referenced by ilPurchaseBillGUI\__construct().
ilPurchaseBaseGUI::setPayed | ( | $payed | ) |
int | $payed |
Definition at line 1121 of file class.ilPurchaseBaseGUI.php.
References $payed.
Referenced by ilPurchaseBillGUI\__construct().
ilPurchaseBaseGUI::showBillConfirm | ( | ) |
Definition at line 230 of file class.ilPurchaseBaseGUI.php.
References __showShoppingCart(), and ilUtil\sendInfo().
Referenced by getPersonalData().
ilPurchaseBaseGUI::showPersonalData | ( | ) |
Reimplemented in ilPurchaseBMFGUI.
Definition at line 103 of file class.ilPurchaseBaseGUI.php.
References $_POST, $_SESSION, __getCountries(), ilUtil\prepareFormOutput(), ilUtil\sendInfo(), ilSelectInputGUI\setOptions(), ilTextInputGUI\setValue(), and ilNonEditableValueGUI\setValue().
Referenced by getPersonalData().
|
private |
Definition at line 39 of file class.ilPurchaseBaseGUI.php.
Referenced by getAccess(), and setAccess().
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 38 of file class.ilPurchaseBaseGUI.php.
Referenced by getPayed(), and setPayed().
|
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().