Auth_PrefManager::setPref
Auth_PrefManager::setPref() – Set a preference.
Synopsis
require_once '/PrefManager.php';
bool
Auth_PrefManager::setPref
(
string
$user_id
,
string
$pref_id
,
mixed
$value
)
Description
Sets the value for $pref_id
.
Parameter
-
string
$user_id
-
The user to set for.
-
string
$pref_id
-
The preference to set.
-
mixed
$value
-
The value it should be set to.
Return value
returns Success or failure.
Throws
No exceptions thrown.
Note
This function can not be called statically.