UserConfigurationService
in
Interface UserConfigurationService
Table of Contents
- getValue() : string|null
- Returns a user configuration value based on the given user ID, key and default value.
- storeConfiguration() : void
- Stores a user configuration based on the given user ID, key and value.
Methods
getValue()
Returns a user configuration value based on the given user ID, key and default value.
public
getValue(int $userId, string $key[, string|null $default = null ]) : string|null
Parameters
- $userId : int
- $key : string
- $default : string|null = null
Return values
string|null —storeConfiguration()
Stores a user configuration based on the given user ID, key and value.
public
storeConfiguration(int $userId, string $key, string $value) : void
Parameters
- $userId : int
- $key : string
- $value : string