| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
Class class.ilPurchaseBaseGUI.php. More...
 Inheritance diagram for ilPurchaseBaseGUI:
 Inheritance diagram for ilPurchaseBaseGUI: Collaboration diagram for ilPurchaseBaseGUI:
 Collaboration diagram for ilPurchaseBaseGUI:| 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 () | |
| __showItemsTable ($a_result_set) | |
| Data Fields | |
| $ctrl | |
| $tpl | |
| $psc_obj = null | |
| $user_obj = null | |
| $coupon_obj = null | |
| $error | |
| $pmethod_obj = null | |
| Private Attributes | |
| $pm_id = 0 | |
| $totalVat = 0 | |
| $session_var = null | |
Class class.ilPurchaseBaseGUI.php.
Definition at line 19 of file class.ilPurchaseBaseGUI.php.
| ilPurchaseBaseGUI::__addBookings | ( | $external_data = null | ) | 
Definition at line 288 of file class.ilPurchaseBaseGUI.php.
References $_SESSION, $session_var, $total, __sendBill(), and ilPaymentObject\_getObjectData().
Referenced by 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 668 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 662 of file class.ilPurchaseBaseGUI.php.
Referenced by __loadTemplate().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPurchaseBaseGUI::__buildStylesheet | ( | ) | 
Definition at line 690 of file class.ilPurchaseBaseGUI.php.
References ilUtil\getStyleSheetLocation().
Referenced by __loadTemplate().
 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::__clearSession | ( | ) | 
Definition at line 648 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 639 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
Reimplemented in ilPurchasePaypal.
Definition at line 698 of file class.ilPurchaseBaseGUI.php.
References $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 = '' | ) | 
Reimplemented in ilPurchasePaypal.
Definition at line 731 of file class.ilPurchaseBaseGUI.php.
References __getCountries().
Referenced by ilPurchaseBaseGUI().
 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 = '' | ) | 
Reimplemented in ilPurchasePaypal.
Definition at line 744 of file class.ilPurchaseBaseGUI.php.
References __getCountries().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPurchaseBaseGUI::__getShoppingCart | ( | ) | 
Definition at line 750 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 | ( | ) | 
Definition at line 787 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 654 of file class.ilPurchaseBaseGUI.php.
References __buildStatusline(), and __buildStylesheet().
Referenced by ilPurchaseBaseGUI().
 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 | ) | 
$bookings['total_vat'] = 0.0;
Definition at line 455 of file class.ilPurchaseBaseGUI.php.
References $_SESSION, $psc_obj, $tpl, ilMimeMail\From(), ilUtil\html2pdf(), and ilUtil\makeDir().
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:| ilPurchaseBaseGUI::__showItemsTable | ( | $a_result_set | ) | 
Definition at line 902 of file class.ilPurchaseBaseGUI.php.
References $_SESSION, $pm_id, 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 826 of file class.ilPurchaseBaseGUI.php.
References $_SESSION, __showItemsTable(), ilShopUtils\_formatVAT(), ilPaymentPrices\_getPrice(), ilPaymentPrices\_getPriceString(), ilPaymentCurrency\_getUnit(), ilObjectFactory\getInstanceByRefId(), and ilUtil\sendInfo().
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 91 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::getBill | ( | ) | 
Definition at line 802 of file class.ilPurchaseBaseGUI.php.
References $_POST, __addBookings(), getPersonalData(), and ilUtil\sendInfo().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPurchaseBaseGUI::getPersonalData | ( | ) | 
Reimplemented in ilPurchaseBMFGUI.
Definition at line 168 of file class.ilPurchaseBaseGUI.php.
References $_POST, $_SESSION, $session_var, ilUtil\sendInfo(), showBillConfirm(), and showPersonalData().
Referenced by 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::ilPurchaseBaseGUI | ( | $user_obj, | |
| $pay_method | |||
| ) | 
Definition at line 35 of file class.ilPurchaseBaseGUI.php.
References $_SESSION, $ilCtrl, $lng, $pay_method, $session_var, $tpl, $user_obj, __getCountryCode(), and __loadTemplate().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPurchaseBaseGUI::showBillConfirm | ( | ) | 
Definition at line 213 of file class.ilPurchaseBaseGUI.php.
References $_POST, __showShoppingCart(), ilUtil\getImagePath(), ilUtil\prepareFormOutput(), 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 96 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:| ilPurchaseBaseGUI::$coupon_obj = null | 
Definition at line 27 of file class.ilPurchaseBaseGUI.php.
| ilPurchaseBaseGUI::$ctrl | 
Definition at line 21 of file class.ilPurchaseBaseGUI.php.
| ilPurchaseBaseGUI::$error | 
Definition at line 28 of file class.ilPurchaseBaseGUI.php.
| 
 | private | 
Definition at line 31 of file class.ilPurchaseBaseGUI.php.
Referenced by __showItemsTable().
| ilPurchaseBaseGUI::$pmethod_obj = null | 
Definition at line 30 of file class.ilPurchaseBaseGUI.php.
| ilPurchaseBaseGUI::$psc_obj = null | 
Definition at line 24 of file class.ilPurchaseBaseGUI.php.
Referenced by __sendBill().
| 
 | private | 
Definition at line 33 of file class.ilPurchaseBaseGUI.php.
Referenced by __addBookings(), __clearSession(), getPersonalData(), and ilPurchaseBaseGUI().
| 
 | private | 
Definition at line 32 of file class.ilPurchaseBaseGUI.php.
| ilPurchaseBaseGUI::$tpl | 
Definition at line 22 of file class.ilPurchaseBaseGUI.php.
Referenced by __sendBill(), ilPurchasePaypal\__sendBill(), and ilPurchaseBaseGUI().
| ilPurchaseBaseGUI::$user_obj = null | 
Definition at line 25 of file class.ilPurchaseBaseGUI.php.
Referenced by ilPurchaseBaseGUI().