Auth_PrefManager::getPref()
--
Get a preference.
Beschrijving
Retrieves the preference specified for a user, or, if returning default values is enabled, the default.
Parameter
- string
$user_id
The user to get the preference for.
- string
$pref_id
The preference to get.
- boolean
$showDefaults
Should default values be searched (overrides the global setting).
Return waarde
returns
The value if it's found, or NULL if it isn't.
Throws
No exceptions thrown.
Note
Deze functie kan niet statisch worden aangeroepen.