delete(string $type, string $name)
Note: The setting will be deleted only from cache, not from persistency layer.
string
The type of the item
string
The name of the item
get(string $type, string $name, string $default) : string | bool
The requested setting will be cached at first time, the next time the cached value will be returned.
The order is: System => Client => Client (language) => Group => User
System properties can be overridden by the group, and group properties can be overridden by the user.
string
The type of the item
string
The name of the item
string
Optional default value
string
bool
The setting value or falsegetByType(string $type) : array
Caches also the collected settings, but contrary to get() it returns never cached entries.
The order is: System => Client => Client (language) => Group => User
System properties can be overridden by the group, and group properties can be overridden by the user.
string
The type of the item
array
Assoziative array like $arr[name] = valuereset()
Usable to start getting settings from scratch.
set(string $type, string $name, string $value)
Note: The setting will be set only in cache, not in persistency layer.
string
The type of the item
string
The name of the item
string
The value of the setting
_get(string $key) : string | bool
string
The setting key
string
bool
The setting value or false_getClientLanguageInstance() : \cApiClientLanguage
_isAuthenticated() : bool
bool
_makeKey(string $type, string $name) : string
string
The type of the item
string
Name of the item
string
The setting key_set(string $key, string $value) : string | bool
string
The setting key
string
Value to store
string
bool
The setting value or false$_client : \cApiClient
$_clientLanguage : \cApiClientLanguage
$_language : \cApiLanguage
$_settings : array
$_user : \cApiUser