UserPreferences
class UserPreferences (View source)
A preferences container for a user.
This is a very naïve, rough and temporary implementation of a User Preferences container. We'll need a better one which understands which options are available and contains some information about possible help texts etc.
Properties
protected array | $preferences | The actual settings |
Methods
array
getPreferences()
Get preferences
void
setPreferences(array $preferences)
No description
void
set(string $key, mixed $value)
No description
mixed
get(string $key)
No description
void
setInterfaceLanguage(string $localeIdentifier)
No description
string
getInterfaceLanguage()
No description
Details
array
getPreferences()
Get preferences
void
setPreferences(array $preferences)
No description
void
set(string $key, mixed $value)
No description
mixed
get(string $key)
No description
void
setInterfaceLanguage(string $localeIdentifier)
No description
string
getInterfaceLanguage()
No description