| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
Class class.ilPurchaseBaseGUI.php. More...
 Inheritance diagram for ilPurchaseBaseGUI:
 Inheritance diagram for ilPurchaseBaseGUI: Collaboration diagram for ilPurchaseBaseGUI:
 Collaboration diagram for ilPurchaseBaseGUI:| 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, $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 41 of file class.ilPurchaseBaseGUI.php.
References $_SESSION, $ilCtrl, ilShopBaseGUI\$lng, $pay_method, $session_var, $tpl, $user_obj, ilShopBaseGUI\__construct(), __getCountryCode(), and __loadTemplate().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPurchaseBaseGUI::__addBookings | ( | $external_data = null | ) | 
Definition at line 286 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().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPurchaseBaseGUI::__buildLocator | ( | ) | 
Definition at line 774 of file class.ilPurchaseBaseGUI.php.
References ilUtil\sendInfo().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPurchaseBaseGUI::__buildStatusline | ( | ) | 
Definition at line 768 of file class.ilPurchaseBaseGUI.php.
| ilPurchaseBaseGUI::__buildStylesheet | ( | ) | 
Definition at line 796 of file class.ilPurchaseBaseGUI.php.
References ilUtil\getStyleSheetLocation().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPurchaseBaseGUI::__clearSession | ( | ) | 
Definition at line 752 of file class.ilPurchaseBaseGUI.php.
References $_SESSION, and $session_var.
Referenced by ilPurchaseBMFGUI\sendCreditCard(), and ilPurchaseBMFGUI\sendDebitEntry().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPurchaseBaseGUI::__emptyShoppingCart | ( | ) | 
Definition at line 743 of file class.ilPurchaseBaseGUI.php.
Referenced by ilPurchaseBMFGUI\sendCreditCard(), and ilPurchaseBMFGUI\sendDebitEntry().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPurchaseBaseGUI::__getCountries | ( | ) | 
shows select box f�r countries
Definition at line 804 of file class.ilPurchaseBaseGUI.php.
References ilShopBaseGUI\$lng.
Referenced by __getCountryCode(), __getCountryName(), ilPurchaseBMFGUI\showPersonalData(), and showPersonalData().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPurchaseBaseGUI::__getCountryCode | ( | $value = '' | ) | 
Definition at line 837 of file class.ilPurchaseBaseGUI.php.
References __getCountries().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPurchaseBaseGUI::__getCountryName | ( | $value = '' | ) | 
Definition at line 850 of file class.ilPurchaseBaseGUI.php.
References __getCountries().
Referenced by __addBookings().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 856 of file class.ilPurchaseBaseGUI.php.
References ilPaymentPrices\_getPrice(), and ilObjectFactory\getInstanceByRefId().
Referenced by __getTotalAmount().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPurchaseBaseGUI::__getTotalAmount | ( | ) | 
depricated!?
Definition at line 897 of file class.ilPurchaseBaseGUI.php.
References $result, and __getShoppingCart().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPurchaseBaseGUI::__loadTemplate | ( | ) | 
Definition at line 758 of file class.ilPurchaseBaseGUI.php.
References ilShopBaseGUI\prepareOutput().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPurchaseBaseGUI::__sendBill | ( | $bookings | ) | 
Definition at line 503 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().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 1001 of file class.ilPurchaseBaseGUI.php.
References $_SESSION, $pm_id, ilPaymentSettings\_getInstance(), and ilPaymentPrices\_getPrice().
Referenced by __showShoppingCart().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPurchaseBaseGUI::__showShoppingCart | ( | ) | 
Definition at line 920 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().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPurchaseBaseGUI::cancel | ( | ) | 
Reimplemented in ilPurchaseBMFGUI.
Definition at line 98 of file class.ilPurchaseBaseGUI.php.
References ilUtil\redirect().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPurchaseBaseGUI::executeCommand | ( | ) | 
execute command
Reimplemented in ilPurchaseBMFGUI.
Definition at line 270 of file class.ilPurchaseBaseGUI.php.
References $cmd.
| ilPurchaseBaseGUI::getAccess | ( | ) | 
Definition at line 1095 of file class.ilPurchaseBaseGUI.php.
References $access.
Referenced by __addBookings().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPurchaseBaseGUI::getBill | ( | ) | 
Definition at line 912 of file class.ilPurchaseBaseGUI.php.
References __addBookings(), and ilUtil\sendInfo().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPurchaseBaseGUI::getPayed | ( | ) | 
Definition at line 1111 of file class.ilPurchaseBaseGUI.php.
References $payed.
Referenced by __addBookings().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPurchaseBaseGUI::getPersonalData | ( | ) | 
Reimplemented in ilPurchaseBMFGUI.
Definition at line 185 of file class.ilPurchaseBaseGUI.php.
References $_POST, $_SESSION, $session_var, ilUtil\sendInfo(), showBillConfirm(), and showPersonalData().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPurchaseBaseGUI::setAccess | ( | $access | ) | 
| int | $access | 
Definition at line 1103 of file class.ilPurchaseBaseGUI.php.
References $access.
Referenced by ilPurchaseBillGUI\__construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPurchaseBaseGUI::setPayed | ( | $payed | ) | 
| int | $payed | 
Definition at line 1119 of file class.ilPurchaseBaseGUI.php.
References $payed.
Referenced by ilPurchaseBillGUI\__construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPurchaseBaseGUI::showBillConfirm | ( | ) | 
Definition at line 230 of file class.ilPurchaseBaseGUI.php.
References __showShoppingCart(), ilUtil\getImagePath(), and ilUtil\sendInfo().
Referenced by getPersonalData().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | 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().