delete(string $type, string $name)
Note: The setting will be deleted only from cache, not from persistency layer.
stringThe type of the item
stringThe 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.
stringThe type of the item
stringThe name of the item
stringOptional default value
stringboolThe 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.
stringThe type of the item
arrayAssoziative 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.
stringThe type of the item
stringThe name of the item
stringThe value of the setting
_get(string $key) : string | bool
stringThe setting key
stringboolThe setting value or false_getClientLanguageInstance() : \cApiClientLanguage
_isAuthenticated() : bool
bool_makeKey(string $type, string $name) : string
stringThe type of the item
stringName of the item
stringThe setting key_set(string $key, string $value) : string | bool
stringThe setting key
stringValue to store
stringboolThe setting value or false$_client : \cApiClient
$_clientLanguage : \cApiClientLanguage
$_language : \cApiLanguage
$_settings : array
$_user : \cApiUser