Definition at line 4 of file class.ilPaymentSettings.php.
◆ __construct()
ilPaymentSettings::__construct |
( |
| ) |
|
|
private |
◆ __getSettings()
ilPaymentSettings::__getSettings |
( |
| ) |
|
|
private |
◆ _getInstance()
static ilPaymentSettings::_getInstance |
( |
| ) |
|
|
static |
Definition at line 11 of file class.ilPaymentSettings.php.
Referenced by ilPurchasePaypal\__checkItems(), ilAdvancedSearchFilterGUI\__construct(), ilShopFilterGUI\__construct(), ilShopBaseGUI\__construct(), ilShopGUI\__construct(), ilPaypalSettings\__construct(), ilPaymentBookings\__construct(), ilObjPaymentSettingsGUI\__construct(), ilUserDefinedInvoiceNumber\__construct(), ilObjPaymentSettingsGUI\__editPricesTable(), ilPaymentObjectGUI\__initPaymentObject(), ilShopSearchResult\__initSearchSettingsObject(), ilPurchaseBaseGUI\__sendBill(), ilPurchaseBaseGUI\__showItemsTable(), ilPurchaseBaseGUI\__showShoppingCart(), ilPaymentPrices\_formatPriceToString(), ilUserDefinedInvoiceNumber\_getIncCurrentValue(), ilPaymentPrices\_getPriceStringFromAmount(), ilUserDefinedInvoiceNumber\_getResetPeriod(), ilUserDefinedInvoiceNumber\_isUDInvoiceNumberActive(), ilUserDefinedInvoiceNumber\_nextIncCurrentValue(), ilUserDefinedInvoiceNumber\_setIncCurrentValue(), ilPaymentStatisticGUI\addCustomer(), ilObjPaymentSettingsGUI\addCustomerObject(), ilPaymentAdminGUI\buildSubTabs(), ilShopController\buildTabs(), ilShopBoughtObjectsGUI\createBill(), ilPaymentObjectGUI\editPayMethod(), ilObjPaymentSettingsGUI\editPriceObject(), ilShopController\executeCommand(), ilObjPaymentSettingsGUI\getSubTabs(), ilBMFSettings\ilBMFSettings(), ilPaymentObjectGUI\resetObjectFilter(), ilObjPaymentSettingsGUI\saveCustomerObject(), ilShopTopicsGUI\saveTopicsSettings(), ilShopShoppingCartGUI\showCouponInput(), ilShopShoppingCartGUI\showItems(), ilShopShoppingCartGUI\showItemsTable(), and ilShopTopicsGUI\showTopicsSettings().
13 if(!isset(self::$_instance))
18 return self::$_instance;
◆ _isPaymentEnabled()
static ilPaymentSettings::_isPaymentEnabled |
( |
| ) |
|
|
static |
◆ delete()
ilPaymentSettings::delete |
( |
|
$a_key | ) |
|
◆ get()
ilPaymentSettings::get |
( |
|
$a_key | ) |
|
◆ getAll()
ilPaymentSettings::getAll |
( |
| ) |
|
◆ getMailBillingText()
static ilPaymentSettings::getMailBillingText |
( |
| ) |
|
|
static |
◆ getMailUsePlaceholders()
static ilPaymentSettings::getMailUsePlaceholders |
( |
| ) |
|
|
static |
◆ getValuesByScope()
ilPaymentSettings::getValuesByScope |
( |
|
$a_scope | ) |
|
◆ set()
ilPaymentSettings::set |
( |
|
$a_key, |
|
|
|
$a_val, |
|
|
|
$a_scope = null |
|
) |
| |
<type> $ilDB
- Parameters
-
<text> | $a_scope // define a payment-scope for settings (i.e. invoice, gui, common ... ) |
<text> | $a_key |
<text> | $a_val |
- Returns
- <type>
Definition at line 75 of file class.ilPaymentSettings.php.
References $ilDB, $res, and $row.
82 $res = $ilDB->queryF(
' 83 SELECT scope FROM payment_settings 85 array(
'text'), array($a_key));
88 $a_scope =
$row[
'scope'];
94 $ilDB->insert(
"payment_settings", array(
95 "keyword" => array(
"text", $a_key),
96 "value" => array(
"clob", $a_val),
97 "scope" => array(
"text", $a_scope)));
99 self::$_instance->setting[$a_key] = $a_val;
◆ setMailBillingText()
static ilPaymentSettings::setMailBillingText |
( |
|
$a_mail_billing_text | ) |
|
|
static |
◆ setMailUsePlaceholders()
static ilPaymentSettings::setMailUsePlaceholders |
( |
|
$a_mail_use_placeholders | ) |
|
|
static |
◆ useShopSpecials()
static ilPaymentSettings::useShopSpecials |
( |
| ) |
|
|
static |
Definition at line 154 of file class.ilPaymentSettings.php.
156 if(!isset(self::$_instance))
158 self::_getInstance();
161 return self::$_instance->setting[
'use_shop_specials'];
◆ $_instance
ilPaymentSettings::$_instance |
|
staticprivate |
◆ $db
◆ $setting
ilPaymentSettings::$setting = array() |
The documentation for this class was generated from the following file: