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.

Auth_PrefManager::setDefaultPref (Previous) Auth_PrefManager::setReturnDefaults (Next)
Last updated: Tue, 02 Jun 2009 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.