CRM_Core_BAO_ConfigSetting
class CRM_Core_BAO_ConfigSetting
File contains functions used in civicrm configuration.
Methods
Create civicrm settings. This is the same as add but it clears the cache and reloads the config object
Add civicrm settings.
Retrieve the settings values from db.
Evaluate locale preferences and activate a chosen locale by updating session+global variables.
No description
Takes a componentName and enables it in the config.
Disable specified component.
Set enabled components.
No description
No description
Details
at line 47
static
create(array $params)
Create civicrm settings. This is the same as add but it clears the cache and reloads the config object
at line 61
static
add(array $params)
Add civicrm settings.
at line 89
static array
retrieve($defaults)
Retrieve the settings values from db.
at line 135
static
applyLocale(SettingsBag $settings, string $activatedLocales)
Evaluate locale preferences and activate a chosen locale by updating session+global variables.
at line 231
static string
doSiteMove(array $defaultValues = array())
at line 296
static bool
enableComponent(string $componentName)
Takes a componentName and enables it in the config.
Primarily used during unit testing
at line 324
static bool
disableComponent(string $componentName)
Disable specified component.
at line 347
static
setEnabledComponents(array $enabledComponents)
Set enabled components.