mixed
Auth_PrefManager::getPref
(
string
$user_id
,
string
$pref_id
,
bool
$showDefaults
= true
)
Retrieves the preference specified for a user, or, if returning default values is enabled, the default.
$user_id
The user to get the preference for.
$pref_id
The preference to get.
$showDefaults
Should default values be searched (overrides the global setting).
returns The value if it's found, or NULL if it isn't.
No exceptions thrown.
This function can not be called statically.