extends |
Hm_Config |
|---|
File based user settings
| Methods | ||||||
|---|---|---|---|---|---|---|
public
|
__construct(object $config)
Load site configuration
Load site configuration Parameters
|
# | ||||
public
|
get_path(string $username): string
Get the filesystem path for a user settings file
Get the filesystem path for a user settings file Parameters
Returnsfilepath to the user config file |
# | ||||
public
|
load(string $username, string $key): void
Load the settings for a user
Load the settings for a user Parameters
Implements |
# | ||||
public
|
reload(array $data, string $username = false): void
Reload from outside input
Reload from outside input Parameters
|
# | ||||
public
|
save(string $username, string $key): void
Save user settings to a file
Save user settings to a file Parameters
|
# | ||||
public
|
set(string $name, string $value): void
Set a config value
Set a config value Parameters
Overrides |
# | ||||
public
|
reset_factory(): void
Reset config to default values
|
# | ||||
| Methods inherited from Hm_Config |
|---|
dump(), del(), version(), get(), set_tz(), shuffle(), decode(), filter_servers(), restore_servers() |
| Properties inherited from Hm_Config |
|---|
$source, $config, $decrypt_failed, $encrypted_str, $save_on_login |