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(), ilShopBaseGUI\__construct(), ilShopGUI\__construct(), ilPaypalSettings\__construct(), ilPaymentBookings\__construct(), ilEPaySettings\__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(), ilShopController\buildTabs(), ilShopBoughtObjectsGUI\createBill(), ilPaymentObjectGUI\editPayMethod(), ilObjPaymentSettingsGUI\editPriceObject(), ilShopController\executeCommand(), ilObjPaymentSettingsGUI\getSubTabs(), ilBMFSettings\ilBMFSettings(), ilPaymentObjectGUI\resetObjectFilter(), ilObjPaymentSettingsGUI\saveCustomerObject(), ilShopShoppingCartGUI\showCouponInput(), ilShopShoppingCartGUI\showItems(), and ilShopShoppingCartGUI\showItemsTable().
13 if(!isset(self::$_instance))
18 return self::$_instance;
◆ _isPaymentEnabled()
static ilPaymentSettings::_isPaymentEnabled |
( |
| ) |
|
|
static |
◆ clearAll()
ilPaymentSettings::clearAll |
( |
| ) |
|
◆ 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 | ) |
|
Definition at line 50 of file class.ilPaymentSettings.php.
References $res, and $row.
54 $res = $ilDB->queryF(
' 55 SELECT * FROM payment_settings 57 array(
'text'), array($a_scope));
60 while(
$row = $this->db->fetchAssoc(
$res))
62 $settings[
$row[
"keyword"]] = $row[
"value"];
◆ 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 $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;
◆ setAll()
ilPaymentSettings::setAll |
( |
|
$a_array | ) |
|
◆ setMailBillingText()
static ilPaymentSettings::setMailBillingText |
( |
|
$a_mail_billing_text | ) |
|
|
static |
◆ setMailUsePlaceholders()
static ilPaymentSettings::setMailUsePlaceholders |
( |
|
$a_mail_use_placeholders | ) |
|
|
static |
◆ useShopSpecials()
static ilPaymentSettings::useShopSpecials |
( |
| ) |
|
|
static |
◆ $_instance
ilPaymentSettings::$_instance |
|
staticprivate |
◆ $db
◆ $setting
ilPaymentSettings::$setting = array() |
The documentation for this class was generated from the following file: