SettingService
in package
Setting Service - Replaces QubitSetting (316 uses)
Table of Contents
Methods
- clearCache() : void
- delete() : bool
- getAll() : Collection
- getByName() : SettingWrapper|null
- getByNameAndScope() : SettingWrapper|null
- getByScope() : Collection
- getValue() : string|null
- set() : bool
Methods
clearCache()
public
static clearCache() : void
delete()
public
static delete(string $name[, string|null $scope = null ]) : bool
Parameters
- $name : string
- $scope : string|null = null
Return values
boolgetAll()
public
static getAll([string|null $culture = null ]) : Collection
Parameters
- $culture : string|null = null
Return values
CollectiongetByName()
public
static getByName(string $name[, string|null $culture = null ]) : SettingWrapper|null
Parameters
- $name : string
- $culture : string|null = null
Return values
SettingWrapper|nullgetByNameAndScope()
public
static getByNameAndScope(string $name, string $scope[, string|null $culture = null ]) : SettingWrapper|null
Parameters
- $name : string
- $scope : string
- $culture : string|null = null
Return values
SettingWrapper|nullgetByScope()
public
static getByScope(string $scope[, string|null $culture = null ]) : Collection
Parameters
- $scope : string
- $culture : string|null = null
Return values
CollectiongetValue()
public
static getValue(string $name[, string|null $culture = null ]) : string|null
Parameters
- $name : string
- $culture : string|null = null
Return values
string|nullset()
public
static set(string $name, string|null $value[, string|null $scope = null ][, string|null $culture = null ]) : bool
Parameters
- $name : string
- $value : string|null
- $scope : string|null = null
- $culture : string|null = null