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
)
Описание
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.
Замечание
This function can not be called statically.