Class Settings
System setting management
Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at app/models/settings.php
Methods summary
public
mixed
|
|
public
mixed
|
|
public
|
|
public
|
#
setSetting( string $key, string $value, mixed $encrypted = null )
Sets the setting with the given key, overwriting any existing value with that key |
public
|
#
unsetSetting( string $key )
Unsets a setting from the system settings. CAUTION: This method will physically remove the setting from the system, and could have dire consequences. You should never use this method, except when attempting to remove a setting created by Settings::setSettings() or Settings::setSetting() that did not previously exist for this installation. |
Methods inherited from AppModel
_()
,
__construct()
,
boolToInt()
,
currencyToDecimal()
,
dateToUtc()
,
errors()
,
getPerPage()
,
ifSet()
,
loadCrypto()
,
setDefaultIfEmpty()
,
setPerPage()
,
setRulesIfSet()
,
strToBool()
,
systemDecrypt()
,
systemEncrypt()
,
systemHash()
,
truncateDecimal()
,
validateExists()
,
validateStateCountry()
Methods inherited from Model
affectedRows()
,
begin()
,
commit()
,
getConnection()
,
lastInsertId()
,
makeDSN()
,
prepare()
,
query()
,
rollBack()
,
setAttribute()
,
setFetchMode()